Open Inventor Reference
|
Element that stores the current lighting model. More...
#include <Inventor/elements/SoLightModelElement.h>
Public Types | |
enum | Model { BASE_COLOR , PHONG } |
These are the available lighting models: More... | |
Static Public Member Functions | |
static void | set (SoState *state, Model model) |
Sets the current lighting model in the state. | |
static void | set (SoState *state, SoNode *, Model model) |
static Model | get (SoState *state) |
Returns current lighting model from the state. | |
static Model | getDefault () |
Returns the default lighting model. | |
This element has been superceded by SoLazyElement. Methods included for compatibility.
Definition at line 71 of file SoLightModelElement.h.
Enumerator | |
---|---|
BASE_COLOR | No lighting; just use base color. |
PHONG | Phong lighting. |
Definition at line 75 of file SoLightModelElement.h.
Definition at line 90 of file SoLightModelElement.h.
References SoLazyElement::getLightModel().
|
inlinestatic |
Definition at line 94 of file SoLightModelElement.h.
References SoLazyElement::getDefaultLightModel().
Definition at line 81 of file SoLightModelElement.h.
References SoLazyElement::setLightModel().
Definition at line 85 of file SoLightModelElement.h.