#include <ShaderProgram.h>
Inheritance diagram for H3D::ShaderProgram:

Public Member Functions | |
| ShaderProgram (Inst< SFNode > _metadata=0, Inst< DisplayList > _displayList=0, Inst< MFString > _url=0, Inst< SFString > _type=0) | |
| Constructor. | |
| virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. | |
Public Attributes | |
| auto_ptr< SFString > | type |
| The type field indicates whether this object shall be compiled as a vertex shader, fragment shader, or other future-defined shader type. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
The shader source is read from the URL specified by the url field. When the url field contains no values ([]), this object instance is ignored. Shader source files shall be plain text encoded as specified for MIME type text/plain and interpreted according to the containing node's language definition.
|
|
Returns the default xml containerField attribute value. For this node it is "programs". Reimplemented from H3D::Node. |
|
|
The type field indicates whether this object shall be compiled as a vertex shader, fragment shader, or other future-defined shader type. Valid values are "VERTEX" and "FRAGMENT".
Access type: initializeOnly |
1.4.5