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 |
|
|
|
|
|
|
|
Returns the clear color. |
|
Get the clear mask. |
|
Gets whether clearing is enabled or disabled. |
|
|
|
Sets the clear color. |
|
Set the clear mask used in glClear(..). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. |
|
Enable/disable clearing via glClear. |
|
|
|
|
|
|