Click or drag to resize
AB4D logo

DXSceneRenderToGpuBitmap(Int32, Int32) Method

RenderToGpuBitmap renders the 3D scene to the GPU's Texture2D with the specified multisampling and supersamplingCount count (width and height are the same as the current width and height of the BackBuffer). The color data in the returned Texture2D is stored in the GPU memory. To read the data from the created texture use ReadSinglePixelColor(Texture2D, Int32, Int32, Format) or ReadColors(Texture2D, Int32, Int32, Int32, Int32, Format, Int32) methods.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.2.9484.2048 (1.0.0.0)
Syntax
C#
public Texture2D RenderToGpuBitmap(
	int multisampling,
	int supersamplingCount
)

Parameters

multisampling  Int32
supersamplingCount  Int32

Return Value

Texture2D
Texture2D
See Also