#include <sglStatelet.hpp>
Inheritance diagram for sglDepthMask::

Public Methods | |
| sglDepthMask (bool on=true) | |
| virtual | ~sglDepthMask () |
| void | apply (sglCurrState *curr_state) const |
Example:
sglDepthMask *dmask = new sglDepthMask; // enabled by default
dmask->enable(false); // disable depth writes
// OR
sglDepthMask *dmask = new sglDepthMask(false);
Definition at line 847 of file sglStatelet.hpp.
|
|
Constructor (default constructor too).
Definition at line 854 of file sglStatelet.hpp. |
|
|
virtual destructor.
Definition at line 858 of file sglStatelet.hpp. |
|
|
Apply this state change to the current rendering state.
Reimplemented from sglStatelet. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001