Tesla Graphics Engine Documentation (January 2012)
TextureCube Constructor (renderSystem, size, genMipMap, format, initialData)
TeslaTesla.GraphicsTextureCubeTextureCube(IRenderSystemProvider, Int32, Boolean, SurfaceFormat, array<DataBuffer>[]()[][])
Creates a new instance of TextureCube.
Declaration Syntax
C#
public TextureCube(
	IRenderSystemProvider renderSystem,
	int size,
	bool genMipMap,
	SurfaceFormat format,
	DataBuffer[] initialData
)
Parameters
renderSystem (IRenderSystemProvider)
Render system used to create the underlying implementation.
size (Int32)
The size (width/height) of each cube face.
genMipMap (Boolean)
True if mip levels should be generated.
format (SurfaceFormat)
The surface format.
initialData (array<DataBuffer>[]()[][])
The initial data for the first mip level.
Exceptions
Exception Condition
ArgumentNullException Thrown if the render system is null.
TeslaException Thrown if creating or writing to the underlying texture fails.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)