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

Public Member Functions | |
| X3DVertexAttributeNode (Inst< SFNode > _metadata=0, Inst< SFString > _name=0) | |
| Constructor. | |
| virtual void | render (int value_index) |
| Perform the OpenGL commands to set the vertex attribute with the given index. | |
| virtual void | renderArray () |
| Perform the OpenGL commands to set the vertex attributes as a an vertex attribute array on the attribute with the given index. | |
| virtual void | disableArray () |
| Disable the array state enabled in renderArray(). | |
| void | setAttribIndex (int _attrib_index) |
| Set the attribute index this vertex attribute should be rendered as. | |
| virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. | |
Public Attributes | |
| auto_ptr< SFString > | name |
| The name field describes a name that is mapped to the shading language-specific name for describing per-vertex data. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Protected Attributes | |
| int | attrib_index |
The name field describes a name that is mapped to the shading language-specific name for describing per-vertex data.
|
|
Returns the default xml containerField attribute value. For this node it is "attrib". Reimplemented from H3D::Node. |
|
|
Perform the OpenGL commands to set the vertex attribute with the given index. value_index is the index of the value in the value field that is to be used. The vertex attribute will be rendered as the attribute index specified by the setAttribFunction. Reimplemented in H3D::FloatVertexAttribute, H3D::Matrix3VertexAttribute, and H3D::Matrix4VertexAttribute. |
|
|
Set the attribute index this vertex attribute should be rendered as. A non-positive value will cause the vertex attribute not be rendered at all. |
|
|
The name field describes a name that is mapped to the shading language-specific name for describing per-vertex data.
Access type: inputOutput |
1.4.5