Stores the current shader program. More...
#include <Inventor/elements/SoGLShaderProgramElement.h>
Public Member Functions | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node) |
static int | getMaxTextureImageUnit (SoState *state=NULL) |
static int | getMaxTextureCoords (SoState *state=NULL) |
This element stores the current shader program.
NOTE: This class does not exist in Open Inventor 10.0 and later.static int SoGLShaderProgramElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoShaderProgramElement.
static SoType SoGLShaderProgramElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoShaderProgramElement.
static int SoGLShaderProgramElement::getMaxTextureCoords | ( | SoState * | state = NULL |
) | [static] |
Returns the maximum number of texture coordinates.
static int SoGLShaderProgramElement::getMaxTextureImageUnit | ( | SoState * | state = NULL |
) | [static] |
Returns the maximum image texture unit.
virtual void SoGLShaderProgramElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Overrides pop() method so side effects can occur in GL.
Reimplemented from SoShaderProgramElement.
Sets the current shader program in the state.
Reimplemented from SoShaderProgramElement.