OpenSceneGraph 2.8.4
|
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object. More...
Public Member Functions | |
DrawCallback () | |
DrawCallback (const DrawCallback &, const CopyOp &) | |
META_Object (osg, DrawCallback) | |
virtual void | drawImplementation (osg::RenderInfo &, const osg::Drawable *) const |
do customized draw code. |
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
The draw callback is implement as a replacement to the Drawable's own drawImplementation() method, if the the user intends to decorate the existing draw code then simple call the drawable->drawImplementation() from with the callbacks drawImplementation() method. This allows the users to do both pre and post callbacks without fuss and can even disable the inner draw if required.
osg::Drawable::DrawCallback::DrawCallback | ( | ) | [inline] |
osg::Drawable::DrawCallback::DrawCallback | ( | const DrawCallback & | , |
const CopyOp & | |||
) | [inline] |
virtual void osg::Drawable::DrawCallback::drawImplementation | ( | osg::RenderInfo & | , |
const osg::Drawable * | |||
) | const [inline, virtual] |
do customized draw code.
osg::Drawable::DrawCallback::META_Object | ( | osg | , |
DrawCallback | |||
) |
![]() | Generated at Sun Jan 8 2012 13:16:09 for the OpenSceneGraph by doxygen 1.7.4. |