Tesla Graphics Engine Documentation (January 2012)
TextureCube Constructor (size, genMipMap, format, initialData)
TeslaTesla.GraphicsTextureCubeTextureCube(Int32, Boolean, SurfaceFormat, array<DataBuffer>[]()[][])
Creates a new instance of TextureCube.
Declaration Syntax
C#
public TextureCube(
	int size,
	bool genMipMap,
	SurfaceFormat format,
	DataBuffer[] initialData
)
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.
initialData (array<DataBuffer>[]()[][])
The initial data for the first mip level.
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)