- /**
- * Start the rendering of the RTT context.
- * @param viewSize size of the destination texture
- */
- void beginCapture(int viewSize);
- /**
- * Start the rendering of the RTT context.
- */
- void beginCapture(void);
- /**
- * Clear the background.
- */
- void Clear(void);
- /**
- * Finish rendering and save the buffer to a texture.
- * @param texID name of a gl texture
- */
- void endCapture(osg::Texture2D*);
- /**
- * Set the size of the destination texture.
- * @param viewSize size of the destination texture
- */