1 #ifndef COIN_SOSHADERPROGRAMELEMENT_H 2 #define COIN_SOSHADERPROGRAMELEMENT_H 27 #include <Inventor/elements/SoReplacedElement.h> 28 #include <Inventor/lists/SbList.h> 30 class SoGLShaderProgram;
36 SO_ELEMENT_HEADER(SoGLShaderProgramElement);
41 static void enable(
SoState *
const state,
const SbBool onoff);
43 SoGLShaderProgram * program);
44 static SoGLShaderProgram *
get(
SoState * state);
53 static void initClass(
void);
54 SoGLShaderProgram *shaderProgram;
57 virtual ~SoGLShaderProgramElement();
virtual SoElement * copyMatchInfo() const
Definition: SoReplacedElement.cpp:97
virtual void push(SoState *state)
Definition: SoElement.cpp:570
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:79
The SoReplacedElement class is an abstract element superclass.This is the superclass of all elements ...
Definition: SoReplacedElement.h:30
virtual SbBool matches(const SoElement *element) const
Definition: SoReplacedElement.cpp:87
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585