RenderContextBase.DrawOnTextureOrBitmap Method

Draws the scene on the specified texture or bitmapData.
Public MustOverride Sub DrawOnTextureOrBitmap( _ 
ByVal texture As TextureBase, _ 
ByVal depthTexture As TextureBase, _ 
ByVal bitmapData As BitmapData, _ 
ByVal strideInPixels As Integer, _ 
ByVal antialiasingAvailable As Boolean, _ 
ByVal antiAliasing As Boolean, _ 
ByVal antialiasingSamples As Integer, _ 
ByVal tileWidth As Integer, _ 
ByVal tileHeight As Integer, _ 
ByVal drawSceneFunc As drawSceneFuncDelegate, _ 
ByVal drawSceneParams As Object, _ 
ByVal hdwAcceleration As Boolean, _ 
ByVal bpp As Integer, _ 
Optional ByVal buildMipmaps As Boolean = false _ 
)
This language is not supported or no code example is available.
public abstract void DrawOnTextureOrBitmap( 
TextureBase texture
TextureBase depthTexture
BitmapData bitmapData
int strideInPixels
bool antialiasingAvailable
bool antiAliasing
int antialiasingSamples
int tileWidth
int tileHeight
drawSceneFuncDelegate drawSceneFunc
object drawSceneParams
bool hdwAcceleration
int bpp
bool buildMipmaps = false 
)
This language is not supported or no code example is available.

Parameters

texture
TextureBase

The texture to draw on

depthTexture
TextureBase

bitmapData
BitmapData

The bitmap data. If null, the draw is done on the texture

strideInPixels
int

<default>

antialiasingAvailable
bool

<default>

antiAliasing
bool

<default>

antialiasingSamples
int

<default>

tileWidth
int

<default>

tileHeight
int

<default>

drawSceneFunc
drawSceneFuncDelegate

The draw function delegate

drawSceneParams
object

The draw function parameters

hdwAcceleration
bool

<default>

bpp
int

Bytes per pixel

buildMipmaps
bool

.NET Framework

Supported in: 4.8

In this article

Definition