Tesla Graphics Engine Documentation (January 2012)
CreateRenderTarget2DImplementation Method (width, height, genMipMaps, format, depthFormat, multiSampleCount, usage)
TeslaTesla.GraphicsIRenderSystemProviderCreateRenderTarget2DImplementation(Int32, Int32, Boolean, SurfaceFormat, DepthFormat, Int32, RenderTargetUsage)
Creates a new render target 2D implementation. All render targets are themselves textures.
Declaration Syntax
Texture2DImplementation CreateRenderTarget2DImplementation(
	int width,
	int height,
	bool genMipMaps,
	SurfaceFormat format,
	DepthFormat depthFormat,
	int multiSampleCount,
	RenderTargetUsage usage
width (Int32)
Width of the target
height (Int32)
Height of the target
genMipMaps (Boolean)
True if mipmaps should be generated
format (SurfaceFormat)
Surface format
depthFormat (DepthFormat)
Depth format. For Multi-RenderTarget (MRT) usage, the depth buffer from the first render target set on the device will be used for all proceeding targets assigned.
multiSampleCount (Int32)
Multisample count
usage (RenderTargetUsage)
Render target usage
Return Value
Render target 2D implementation

Assembly: Tesla (Module: Tesla) Version: (