Stores the current lighting model. More...
#include <Inventor/elements/SoLightModelElement.h>
Public Types | |
enum | Model { BASE_COLOR , PHONG , PER_VERTEX_PHONG , PER_PIXEL_PHONG , PHYSICALLY_BASED } |
These are the available lighting models. More... | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static void | set (SoState *state, Model model) |
Sets the current lighting model in the state. | |
static void | set (SoState *state, SoNode *, Model model) |
Sets the current lighting model in the state. | |
static Model | get (SoState *state) |
Returns current lighting model from the state. | |
static Model | getDefault () |
Returns the default lighting model. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Additional Inherited Members | |
Public Member Functions inherited from SoElement | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Stores the current lighting model.
This element stores the current lighting model.
Definition at line 69 of file SoLightModelElement.h.
These are the available lighting models.
Definition at line 77 of file SoLightModelElement.h.
Returns current lighting model from the state.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
static |
Returns the default lighting model.
Sets the current lighting model in the state.
Sets the current lighting model in the state.