#include <RixSubdEval.h>
Public Member Functions | |
virtual int | GetID ()=0 |
Returns the unique ID of this vertex. | |
virtual int | GetDataIndex ()=0 |
Returns the data index of this vertex. | |
virtual bool | GetValue (const RtToken name, int width, float *data)=0 |
Requests the current value of a primitive variable attached to this vertex. | |
virtual bool | GetValue (const RtToken name, int width, const RtToken space, float *data)=0 |
Requests the current value of a primitive variable attached to this vertex. |
|
Returns the data index of this vertex. Unlike the ID, the data index is not guaranteed to be unique. The data index may be used to index into values returned by RixSubdivisionMesh::GetPackedVertexValues. |
|
Returns the unique ID of this vertex. The ID is guaranteed to be unique amongst all other vertices present on the mesh. |
|
Requests the current value of a primitive variable attached to this vertex. The variable cannot be a string, uniform, or facevarying detail; it can only be constant, varying, or vertex. (For uniform and facevarying variables, you must use RixSubdivisionFace methods.) Returns true if the data exists with the given name and width (in floats) and is of allowable type, false otherwise. Point-like data types will be transformed to the requested space. |
|
Requests the current value of a primitive variable attached to this vertex. The variable cannot be a string, uniform, or facevarying detail; it can only be constant, varying, or vertex. (For uniform and facevarying variables, you must use RixSubdivisionFace methods.) Returns true if the data exists with the given name and width (in floats) and is of allowable type, false otherwise. Point-like data types will be returned in camera space. |