49#ifndef _SO_LIGHT_MODEL_ELEMENT
50#define _SO_LIGHT_MODEL_ELEMENT
117 static void initClass();
118 static void exitClass();
125 virtual SoElement* copyMatchInfo()
const;
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all state elements.
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.
@ PER_PIXEL_PHONG
Per-pixel Phong lighting.
@ PER_VERTEX_PHONG
Per-vertex Phong lighting.
static Model get(SoState *state)
Returns current lighting model from the state.
static void set(SoState *state, SoNode *, Model model)
Sets the current lighting model in the state.
static void set(SoState *state, Model model)
Sets the current lighting model in the state.
Abstract base class for all database nodes.