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