osg::ClearNode Class Reference
A Group node for clearing the color and depth buffers.
More...
Inheritance diagram for osg::ClearNode:
[legend]List of all members.
Detailed Description
A Group node for clearing the color and depth buffers.
Use setClearColor to change the clear color, and setRequiresClear to disable/enable the call clearing. You might want to disable clearing if you perform your clear by drawing fullscreen geometry. If you do this, add child nodes to perform such drawing. The default StateSet associated with this node places children in render bin -1 to ensure that children are rendered prior to the rest of the scene graph.
Constructor & Destructor Documentation
osg::ClearNode::ClearNode |
( |
const ClearNode & |
es, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY |
|
) |
[inline] |
|
virtual osg::ClearNode::~ClearNode |
( |
|
) |
[inline, protected, virtual] |
|
Member Function Documentation
const Vec4& osg::ClearNode::getClearColor |
( |
|
) |
const [inline] |
|
bool osg::ClearNode::getRequiresClear |
( |
|
) |
const [inline] |
|
|
Gets whether clearing is enabled or disabled.
|
osg::ClearNode::META_Node |
( |
osg |
, |
|
|
ClearNode |
|
|
) |
|
|
void osg::ClearNode::setClearColor |
( |
const Vec4 & |
color |
) |
[inline] |
|
void osg::ClearNode::setRequiresClear |
( |
bool |
requiresClear |
) |
[inline] |
|
|
Enable/disable clearing via glClear.
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated at Wed Mar 8 21:49:47 2006 for the OpenSceneGraph
by doxygen 1.4.6.