H3D::Matrix3VertexAttribute Class Reference
[X3D node classes.]

Defines a set of per-vertex 33 matrix attributes. More...

#include <H3D/Matrix3VertexAttribute.h>

Inheritance diagram for H3D::Matrix3VertexAttribute:

Inheritance graph

List of all members.

Public Member Functions

 Matrix3VertexAttribute (Inst< SFNode > _metadata=0, Inst< SFString > _name=0, Inst< MFMatrix3f > _value=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().

Public Attributes

auto_ptr< MFMatrix3fvalue
 The value field specifies an arbitrary collection of Matrix3f values that will be passed to the shader as per-vertex information.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

Defines a set of per-vertex 33 matrix attributes.

The value field specifies an arbitrary collection of matrix values that will be passed to the shader as per-vertex information.


Member Function Documentation

void Matrix3VertexAttribute::render ( int  value_index  )  [virtual]

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.

References value.

void Matrix3VertexAttribute::renderArray (  )  [virtual]

Perform the OpenGL commands to set the vertex attributes as a an vertex attribute array on the attribute with the given index.

Perform the OpenGL commands to set the vertex attributes as a an vertex attribute array.

Reimplemented from H3D::X3DVertexAttributeNode.

References value.


Member Data Documentation

The value field specifies an arbitrary collection of Matrix3f values that will be passed to the shader as per-vertex information.

Access type: inputOutput

Referenced by render(), and renderArray().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:30:34 2008 for H3D API by  doxygen 1.5.7