Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
osg::Drawable::DrawCallback Struct Reference
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
More...
Inheritance diagram for osg::Drawable::DrawCallback:
[legend]List of all members.
Detailed Description
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 drawImmediateMode() method, if the the user intends to decorate the exist draw code then simple call the drawable->drawImmediateMode() from with the callbacks drawImmediateMode() method. This allows the users to do both pre and post callbacks without fuss and can even diable the inner draw in required.
Member Function Documentation
virtual void osg::Drawable::DrawCallback::drawImmediateMode |
( |
State & |
state, |
|
|
osg::Drawable * |
drawable |
|
) |
const [pure virtual] |
|
The documentation for this struct was generated from the following file:
Generated at Wed Sep 18 13:55:29 2002 for the Open Scene Graph
by doxygen 1.2.16.