54 #include "StencilRefNode.hh" 68 const std::string& _name)
77 const std::string& _name)
87 glPushAttrib (GL_STENCIL_BUFFER_BIT);
88 glStencilFunc (GL_ALWAYS, reference_, ~0);
89 glStencilOp (GL_KEEP, GL_KEEP, GL_REPLACE);
Namespace providing different geometric functions concerning angles.
void enterPick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
Do nothing in picking.
bool visible()
Is node visible (status == Active)?
void enter(GLState &_state, const DrawModes::DrawMode &_drawmode)
set stencil reference for all z-pass pixels
void leave(GLState &_state, const DrawModes::DrawMode &_drawmode)
restores original stencil behavior
void setReference(GLuint _ref)
set stencil reference number
void leavePick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
Do nothing in picking.
PickTarget
What target to use for picking.
StencilRefNode(BaseNode *_parent=0, const std::string &_name="<StencilRefNode>")
Default constructor.