1 #ifndef COIN_SOSHADEROBJECT_H 2 #define COIN_SOSHADEROBJECT_H 36 #include <Inventor/nodes/SoNode.h> 37 #include <Inventor/nodes/SoSubNode.h> 38 #include <Inventor/fields/SoSFString.h> 39 #include <Inventor/fields/SoSFEnum.h> 40 #include <Inventor/fields/SoSFBool.h> 41 #include <Inventor/fields/SoMFNode.h> 42 #include <Inventor/C/glue/gl.h> 44 class SoGLShaderObject;
45 class SoGLShaderProgram;
69 static void initClass(
void);
74 void updateParameters(
SoState * state);
77 SbString getSourceProgram(
void)
const;
85 class SoShaderObjectP * pimpl;
The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:45
SoSFString sourceProgram
Definition: SoShaderObject.h:64
Definition: SoShaderObject.h:58
The SoSearchAction class provides methods for searching through scene graphs.Nodes can be searched fo...
Definition: SoSearchAction.h:44
The SoSFString class is a container for an SbString.This field is used where nodes, engines or other field containers needs to store a single string.
Definition: SoSFString.h:40
virtual void search(SoSearchAction *action)
Definition: SoNode.cpp:1158
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
Definition: SoShaderObject.h:50
The SoSFEnum class is a container for an enum value.This field is used where nodes, engines or other field containers needs to store one particular value out of an enumerated set.
Definition: SoSFEnum.h:40
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
The SoSFBool class is a container for an SbBool value.This field is used where nodes, engines or other field containers needs to store a boolean on/off or TRUE/FALSE value, like for instance as the "on" field of the SoPointLight, SoSpotLight and SoDirectionalLight node classes.
Definition: SoSFBool.h:39
Definition: SoShaderObject.h:57
SoSFEnum sourceType
Definition: SoShaderObject.h:63
virtual SbBool readInstance(SoInput *in, unsigned short flags)
Definition: SoNode.cpp:1476
Definition: SoShaderObject.h:56
The SoMFNode class is a container for nodes.This field container stores an array of pointers to nodes...
Definition: SoMFNode.h:41
SourceType
Definition: SoShaderObject.h:55
SoSFBool isActive
Definition: SoShaderObject.h:62
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:940
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:52
#define SO_NODE_ABSTRACT_HEADER(classname)
SoMFNode parameter
Definition: SoShaderObject.h:67
The SoGLRenderAction class renders the scene graph with OpenGL calls.Applying this method at a root n...
Definition: SoGLRenderAction.h:50