Open topic with navigation
<node3d:renderNode>.setBuffer
Set the buffer to render to
<node3d:renderNode>.setBuffer( |
|
buffer |
) |
|
buffer
One of the following values:
viz.RENDER_FBO | Render to an OpenGL Frame Buffer Object |
viz.RENDER_FRAME_BUFFER | Render to the OpenGL frame buffer |
Remarks
The buffer controls the destination of the rendering for the node. viz.RENDER_FBO is normally used when rendering to a texture. viz.RENDER_FRAME_BUFFER is used when you want to render to the screen.
The default buffer is viz.RENDER_FBO
Return Value
None
See also