Creates a new instance of TextureCube.
Declaration Syntax
C# |
public TextureCube( int size, bool genMipMap, SurfaceFormat format )
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.
Exceptions
Exception | Condition |
---|---|
TeslaException | Thrown if creating the underlying texture fails or the render
system was not initialized. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)