Creates a new instance of RenderTargetCube.
Declaration Syntax
C# |
public RenderTargetCube( int size, bool genMipMap, SurfaceFormat format, DepthFormat depthFormat )
Parameters
- size (Int32)
- The size (width/height) of each cube face.
- genMipMap (Boolean)
- True if mip levels should be generated.
- format (SurfaceFormat)
- The surface format.
- depthFormat (DepthFormat)
- The depth format
Exceptions
Exception | Condition |
---|---|
TeslaException | Thrown if creating the underlying render target fails or the render
system was not initialized. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)