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();
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585
virtual void push(SoState *state)
Definition: SoElement.cpp:570
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
The SoReplacedElement class is an abstract element superclass.
Definition: SoReplacedElement.h:30
virtual SoElement * copyMatchInfo() const
Definition: SoReplacedElement.cpp:97
virtual SbBool matches(const SoElement *element) const
Definition: SoReplacedElement.cpp:87
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:79
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35