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. |
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] |
osg::Drawable::DrawCallback::META_Object | ( | osg | , | |
DrawCallback | ||||
) |
virtual void osg::Drawable::DrawCallback::drawImplementation | ( | osg::RenderInfo & | , | |
const osg::Drawable * | ||||
) | const [inline, virtual] |
do customized draw code.