Tesla Graphics Engine Documentation (January 2012)
CreateRenderTarget2DImplementation Method (width, height, genMipMaps, format, depthFormat, multiSampleCount, usage)
TeslaTesla.Direct3D10.GraphicsD3D10RenderSystemProviderCreateRenderTarget2DImplementation(Int32, Int32, Boolean, SurfaceFormat, DepthFormat, Int32, RenderTargetUsage)
Creates a new render target 2D implementation. All render targets are themselves textures.
Declaration Syntax
C#
public Texture2DImplementation CreateRenderTarget2DImplementation(
	int width,
	int height,
	bool genMipMaps,
	SurfaceFormat format,
	DepthFormat depthFormat,
	int multiSampleCount,
	RenderTargetUsage usage
)
Parameters
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)
The target usage.
Return Value
Render target 2D implementation

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