29 #ifndef __X3DVERTEXATTRIBUTENODE_H__
30 #define __X3DVERTEXATTRIBUTENODE_H__
51 Inst< SFString > _name = 0,
52 Inst< SFInt32 > _divisor = 0 );
73 attrib_index = _attrib_index;
96 H3DUniquePtr< SFString >
name;
Contains the GLVertexAttributeObject class.
Contains the SFInt32 field class.
Contains the SFString field class.
Header file for X3DGeometricPropertyNode, X3D scene-graph node.
This abstract interface is inherited by all nodes that could be used as vertex attributes in a glsl s...
Definition: GLVertexAttributeObject.h:54
This is the base node type for all geometric property node types defined in X3D.
Definition: X3DGeometricPropertyNode.h:43
This abstract node type is the base type for all node types that specify per-vertex attribute informa...
Definition: X3DVertexAttributeNode.h:47
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: X3DVertexAttributeNode.h:106
H3DUniquePtr< SFString > name
The name field describes a name that is mapped to the shading language-specific name for describing p...
Definition: X3DVertexAttributeNode.h:96
virtual string defaultXMLContainerField()
Returns the default xml containerField attribute value.
Definition: X3DVertexAttributeNode.h:87
virtual void setAttributeData()
Implement the method to specify data and releated information.
Definition: X3DVertexAttributeNode.h:77
virtual void renderVBO()
VBO rendering implementation.
Definition: X3DVertexAttributeNode.h:80
virtual void renderArray()
Perform the OpenGL commands to set the vertex attributes as a an vertex attribute array on the attrib...
Definition: X3DVertexAttributeNode.h:64
virtual void render(int)
Perform the OpenGL commands to set the vertex attribute with the given index.
Definition: X3DVertexAttributeNode.h:59
H3DUniquePtr< SFInt32 > divisor
If non-zero, for instanced rendering, the divisor specifies the number of instances that will pass be...
Definition: X3DVertexAttributeNode.h:103
virtual void disableVBO()
VBO disabling implementation.
Definition: X3DVertexAttributeNode.h:83
void setAttribIndex(int _attrib_index)
Set the attribute index this vertex attribute should be rendered as.
Definition: X3DVertexAttributeNode.h:72
virtual void disableArray()
Disable the array state enabled in renderArray().
Definition: X3DVertexAttributeNode.h:67
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