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

Public Methods | |
| sglLighting (bool on=false) | |
| virtual | ~sglLighting () |
| void | apply (sglCurrState *curr_state) const |
Example:
sglLighting *lighting = new sglLighting(true); // enable lighting lighting->enable(false); // disable lighting
Definition at line 1190 of file sglStatelet.hpp.
|
|
Constructor (and the default constructor).
Definition at line 1196 of file sglStatelet.hpp. |
|
|
virtual destructor.
Definition at line 1200 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