Tesla Graphics Engine Documentation (January 2012)
RenderTargetCube Constructor (size, genMipMap, format, depthFormat, multiSampleCount, usage)
TeslaTesla.GraphicsRenderTargetCubeRenderTargetCube(Int32, Boolean, SurfaceFormat, DepthFormat, Int32, RenderTargetUsage)
Creates a new instance of RenderTargetCube.
Declaration Syntax
C#
public RenderTargetCube(
	int size,
	bool genMipMap,
	SurfaceFormat format,
	DepthFormat depthFormat,
	int multiSampleCount,
	RenderTargetUsage usage
)
Parameters
size (Int32)
The size (width/height) of each cube face.
genMipMap (Boolean)
True if a mipmap chain should be generated or not.
format (SurfaceFormat)
The surface format.
depthFormat (DepthFormat)
The depth-stencil format.
multiSampleCount (Int32)
The number of sample locations for multisampling
usage (RenderTargetUsage)
Sets the render target's behavior.
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)