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

Public Member Functions | |
| FloatVertexAttribute (Inst< SFNode > _metadata=0, Inst< SFString > _name=0, Inst< MFFloat > _value=0, Inst< SFInt32 > _numComponents=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 currently set attribute index. | |
| virtual void | disableArray () |
| Disable the array state enabled in renderArray(). | |
Public Attributes | |
| auto_ptr< MFFloat > | value |
| values that will be passed to the shader as per-vertex information. | |
| auto_ptr< SFInt32 > | numComponents |
| The numComponents field specifies how many consecutive floating point values should be grouped together per vertex. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
The numComponents field specifies how many consecutive floating point values should be grouped together per vertex. The length of the value field shall be a multiple of numComponents.
The value field specifies an arbitrary collection of floating point values that will be passed to the shader as per-vertex information.
|
|
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. Reimplemented from H3D::X3DVertexAttributeNode. |
|
|
The numComponents field specifies how many consecutive floating point values should be grouped together per vertex.
Access type: inputOutput |
|
|
values that will be passed to the shader as per-vertex information. The length of the value field shall be a multiple of numComponents.
Access type: inputOutput |
1.4.5