Render a scene to a texture, by calling a draw method. The texture will be returned. You can also set a camera for drawing the scene.
Internally a framebuffer object will be created to play the drawings. for errors, which cn occurs se OpenGlDevice.FramebufferStatus.
Public Overloads Sub RenderToTexture( _
- Camera, which is taken for drawings
- Frambuffer width. It is faster to take a potence of 2
- Frambuffer height. It is faster to take a potence of 2
- The DrawNotify event, which is called for drawings. RenderToTexture might not be used while creating a displaylist .
A texture, which holds the rendering due in the draw event.
OpenGlDevice Class | Drawing3d.Devices Namespace | OpenGlDevice.RenderToTexture Overload List | RenderToTexture | RenderToImage