Drawing3d documented Class Library

OpenGlDevice.RenderToTexture(Int32, Int32, DrawNotify) Method

Calls RenderToTexture with the current Camera.

[Visual Basic]
Public Overloads Sub RenderToTexture( _
   ByVal FBWidth As Integer, _
   ByVal FBHeight As Integer, _
   ByVal Draw As DrawNotify _
)
[C#]
public Texture RenderToTexture(
   int FBWidth,
   int FBHeight,
   DrawNotify Draw
);

Parameters

FBWidth
Specifies the width of the texture
FBHeight
Specifies the height of the texture
Draw
Method which is called, when creating the texture

Return Value

A texture, which has the drawings, made by "Draw"

See Also

OpenGlDevice Class | Drawing3d.Devices Namespace | OpenGlDevice.RenderToTexture Overload List