29 #ifndef __COMPOSEDGENERATEDSHADER_H__
30 #define __COMPOSEDGENERATEDSHADER_H__
80 Inst< SFNode > _metadata = 0,
81 Inst< SFBool > _isSelected = 0,
82 Inst< SFBool > _isValid = 0,
83 Inst< SFBool > _activate = 0,
84 Inst< SFString > _language = 0,
85 Inst< MFShaderPart > _parts = 0,
86 Inst< SFBool > _suppressUniformWarnings = 0,
87 Inst< MFString > _fragmentShaderString = 0,
88 Inst< MFString > _vertexShaderString = 0,
89 Inst< MFGeneratedFragmentShaderNode > _fragmentShaders = 0,
90 Inst< MFGeneratedVertexShaderNode > _vertexShaders = 0 );
127 virtual string getFunctionShaderString();
130 virtual void getVaryingVariables( vector< VaryingVariable > &variables );
133 virtual void getAttributes( vector< Attribute > &attributes );
136 virtual string getVertexShaderString();
139 virtual string getFragmentShaderString();
Header file for H3DGeneratedFragmentShaderNode.
Header file for H3DGeneratedVertexShaderNode.
The ComposedGeneratedShader node composes vertex shader manipulator shaders with fragment shaders.
Definition: ComposedGeneratedShader.h:61
H3DUniquePtr< MFGeneratedVertexShaderNode > vertexShaders
The vertexShaders field specifies a number of H3DGeneratedVertexShaderNode instances that modify the ...
Definition: ComposedGeneratedShader.h:114
H3DUniquePtr< MFGeneratedFragmentShaderNode > fragmentShaders
The fragmentShaders field specifies a number of H3DGeneratedFragmentShaderNode instances that build u...
Definition: ComposedGeneratedShader.h:104
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ComposedGeneratedShader.h:117
The ComposedShader node defines a shader where the individual source files are not individually progr...
Definition: ComposedShader.h:77
DependentMFNode are modified TypedMFNode fields where the field dirty status is dependent on fields i...
Definition: DependentNodeFields.h:336
Class used for specifying a field member of a node in a DependentSFNode or DependentMFNode specificat...
Definition: DependentNodeFields.h:48
We use the Field's lazy evaluation mechanisms to manage the GL display lists for rendering,...
Definition: H3DDisplayListObject.h:60
This abstract interface class is the base class for all node types that wants to create an OpenGL dis...
Definition: H3DDisplayListObject.h:54
H3DUniquePtr< DisplayList > displayList
The DisplayList instance handling the OpenGL caching of this object.
Definition: H3DDisplayListObject.h:256
The H3DGeneratedFragmentShaderNode node is the base class for shader generator nodes that specify a f...
Definition: H3DGeneratedFragmentShaderNode.h:44
The H3DGeneratedShaderNode node is the base class for nodes that generates GLSL shaders for use in pl...
Definition: H3DGeneratedShaderNode.h:113
The H3DGeneratedVertexShaderNode node is the base class for shader generator nodes that only modify t...
Definition: H3DGeneratedVertexShaderNode.h:44
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194