55#ifndef _SO_LIGHT_MODEL_ELEMENT
56#define _SO_LIGHT_MODEL_ELEMENT
86 { set(state, model); }
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
static void setLightModel(SoState *state, const int32_t model)
static int32_t getDefaultLightModel()
static int32_t getLightModel(SoState *)
Element that stores the current lighting model.
static Model getDefault()
Returns the default lighting model.
Model
These are the available lighting models:
@ BASE_COLOR
No lighting; just use base color.
static Model get(SoState *state)
Returns current lighting model from the state.
static void set(SoState *state, SoNode *, Model model)
static void set(SoState *state, Model model)
Sets the current lighting model in the state.
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.