OpenSceneGraph 2.8.3
|
Container class for all data required for rendering of drawables. More...
Public Member Functions | |
RenderLeaf (osg::Drawable *drawable, osg::RefMatrix *projection, osg::RefMatrix *modelview, float depth=0.0f) | |
void | set (osg::Drawable *drawable, osg::RefMatrix *projection, osg::RefMatrix *modelview, float depth=0.0f) |
void | reset () |
virtual void | render (osg::RenderInfo &renderInfo, RenderLeaf *previous) |
const osg::Drawable * | getDrawable () const |
Public Attributes | |
StateGraph * | _parent |
osg::ref_ptr< osg::Drawable > | _drawable |
osg::ref_ptr< osg::RefMatrix > | _projection |
osg::ref_ptr< osg::RefMatrix > | _modelview |
float | _depth |
bool | _dynamic |
Friends | |
class | osgUtil::StateGraph |
Allow StateGraph to change the RenderLeaf's _parent. |
Container class for all data required for rendering of drawables.
osgUtil::RenderLeaf::RenderLeaf | ( | osg::Drawable * | drawable, |
osg::RefMatrix * | projection, | ||
osg::RefMatrix * | modelview, | ||
float | depth = 0.0f |
||
) | [inline] |
References osg::Object::DYNAMIC, and osg::Object::getDataVariance().
const osg::Drawable* osgUtil::RenderLeaf::getDrawable | ( | ) | const [inline] |
virtual void osgUtil::RenderLeaf::render | ( | osg::RenderInfo & | renderInfo, |
RenderLeaf * | previous | ||
) | [virtual] |
void osgUtil::RenderLeaf::reset | ( | ) | [inline] |
void osgUtil::RenderLeaf::set | ( | osg::Drawable * | drawable, |
osg::RefMatrix * | projection, | ||
osg::RefMatrix * | modelview, | ||
float | depth = 0.0f |
||
) | [inline] |
References osg::Object::DYNAMIC.
Referenced by osgUtil::CullVisitor::createOrReuseRenderLeaf().
friend class osgUtil::StateGraph [friend] |
Allow StateGraph to change the RenderLeaf's _parent.
Referenced by osgUtil::StateGraph::addLeaf().
Referenced by osgUtil::StateGraph::addLeaf().
![]() | Generated at Tue Mar 22 2011 13:20:30 for the OpenSceneGraph by doxygen 1.7.3. |