29 #ifndef __X3DCOLORNODE_H__
30 #define __X3DCOLORNODE_H__
64 virtual void preRender();
67 virtual void postRender();
Contains the GLVertexAttributeObject 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 color specifications in X3D.
Definition: X3DColorNode.h:44
virtual RGBA getColor(unsigned int i)=0
Get the color at index i.
virtual void render(int)
Perform the OpenGL commands to render a color given the index of the color.
Definition: X3DColorNode.h:54
virtual void disableArray()
Disable the array state enabled in renderArray().
Definition: X3DColorNode.h:61
virtual void renderArray()
Perform the OpenGL commands to render all vertices as a vertex array.
Definition: X3DColorNode.h:58
virtual void setAttributeData()
Implement the method to specify data and releated information.
Definition: X3DColorNode.h:70
virtual void renderVBO()
VBO rendering implementation.
Definition: X3DColorNode.h:73
virtual unsigned int nrAvailableColors()=0
Returns the number of color this color node can render.
virtual void disableVBO()
VBO disabling implementation.
Definition: X3DColorNode.h:76
virtual string defaultXMLContainerField()
Returns the default xml containerField attribute value.
Definition: X3DColorNode.h:81
This is the base node type for all geometric property node types defined in X3D.
Definition: X3DGeometricPropertyNode.h:43
H3D API namespace.
Definition: Anchor.h:38