#include <sglStatelet.hpp>
Inheritance diagram for sglHighlight::
Public Methods | |
sglHighlight (bool on=false) | |
virtual | ~sglHighlight () |
void | apply (sglCurrState *curr_state) const |
Example:
sglHighlight *hilite = new sglHighlight; // disabled by default hilite->enable(true); // only enable red components
Definition at line 1153 of file sglStatelet.hpp.
|
Constructor (and the default constructor).
Definition at line 1159 of file sglStatelet.hpp. |
|
virtual destructor.
Definition at line 1163 of file sglStatelet.hpp. |
|
Apply this state change to the current rendering state.
Reimplemented from sglStatelet. |