Tesla Graphics Engine Documentation (January 2012)
RenderTargetCube Constructor (renderSystem, size, genMipMap, format, depthFormat)
TeslaTesla.GraphicsRenderTargetCubeRenderTargetCube(IRenderSystemProvider, Int32, Boolean, SurfaceFormat, DepthFormat)
Creates a new instance of RenderTargetCube.
Declaration Syntax
C#
public RenderTargetCube(
	IRenderSystemProvider renderSystem,
	int size,
	bool genMipMap,
	SurfaceFormat format,
	DepthFormat depthFormat
)
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.
depthFormat (DepthFormat)
The depth format
Exceptions
Exception Condition
ArgumentNullException Thrown if the render system is null.
TeslaException Thrown if creating the underlying texture fails.

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