Inheritance diagram for osg::ClearNode:
Public Member Functions | |
ClearNode () | |
ClearNode (const ClearNode &cs, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_Node (osg, ClearNode) | |
void | setRequiresClear (bool requiresClear) |
bool | getRequiresClear () const |
void | setClearColor (const Vec4 &color) |
const Vec4 & | getClearColor () const |
void | setClearMask (GLbitfield mask) |
GLbitfield | getClearMask () const |
Protected Member Functions | |
virtual | ~ClearNode () |
Protected Attributes | |
bool | _requiresClear |
Vec4 | _clearColor |
GLbitfield | _clearMask |
osg::ClearNode::ClearNode | ( | ) |
osg::ClearNode::ClearNode | ( | const ClearNode & | cs, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
virtual osg::ClearNode::~ClearNode | ( | ) | [inline, protected, virtual] |
const Vec4& osg::ClearNode::getClearColor | ( | ) | const [inline] |
Returns the clear color.
GLbitfield osg::ClearNode::getClearMask | ( | ) | const [inline] |
Get the clear mask.
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] |
Sets the clear color.
void osg::ClearNode::setClearMask | ( | GLbitfield | mask | ) | [inline] |
Set the clear mask used in glClear(..). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT.
void osg::ClearNode::setRequiresClear | ( | bool | requiresClear | ) | [inline] |
Enable/disable clearing via glClear.
Vec4 osg::ClearNode::_clearColor [protected] |
GLbitfield osg::ClearNode::_clearMask [protected] |
bool osg::ClearNode::_requiresClear [protected] |