1 #ifndef COIN_SOSHADERPROGRAM_H
2 #define COIN_SOSHADERPROGRAM_H
27 #include <Inventor/nodes/SoNode.h>
28 #include <Inventor/nodes/SoSubNode.h>
29 #include <Inventor/fields/SoMFNode.h>
35 typedef void SoShaderProgramEnableCB(
void * closure,
50 void setEnableCallback(SoShaderProgramEnableCB * cb,
58 static void initClass();
64 class SoShaderProgramP * pimpl;
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
int getNum(void) const
Definition: SoMField.h:86
virtual void search(SoSearchAction *action)
Definition: SoNode.cpp:1120
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:34
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
The SoShaderProgram class is used to specify a set of vertex/geometry/fragment objects.
Definition: SoShaderProgram.h:41
virtual ~SoShaderProgram()
Definition: SoShaderProgram.cpp:133
virtual void GLRender(SoGLRenderAction *action)
Definition: SoShaderProgram.cpp:140
void setDefault(SbBool def)
Definition: SoField.cpp:650
void popCurPath(const PathCode prevpathcode)
Definition: SoAction.h:165
PathCode getPathCode(int &numindices, const int *&indices)
Definition: SoAction.cpp:890
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoState * getState(void) const
Definition: SoAction.cpp:1028
SoShaderProgram(void)
Definition: SoShaderProgram.cpp:116
The SoNodeSensor class detects changes to nodes.
Definition: SoNodeSensor.h:29
virtual void search(SoSearchAction *action)
Definition: SoShaderProgram.cpp:147
void pushCurPath(const int childindex, SoNode *node=NULL)
Definition: SoAction.cpp:919
void setNum(const int num)
Definition: SoMField.cpp:615
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
void setEnableCallback(SoShaderProgramEnableCB *cb, void *closure)
Definition: SoShaderProgram.cpp:178
The SoMFNode class is a container for nodes.
Definition: SoMFNode.h:32
SoMFNode shaderObject
Definition: SoShaderProgram.h:46
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
Definition: SoShaderObject.h:41
SoState * state
Definition: SoAction.h:132
SbBool isFound(void) const
Definition: SoSearchAction.cpp:376
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18