MaterialX 1.38.2
|
Class that describes a sub-region of a mesh using vertex indexing. More...
#include <Mesh.h>
Public Member Functions | |
void | resize (size_t indexCount) |
Resize data to the given number of indices. | |
const string & | getIdentifier () const |
Get geometry identifier. | |
void | setIdentifier (const string &val) |
Set geometry identifier. | |
MeshIndexBuffer & | getIndices () |
Return indexing. | |
const MeshIndexBuffer & | getIndices () const |
Return indexing. | |
size_t | getFaceCount () const |
Return number of faces. | |
void | setFaceCount (size_t val) |
Set face count. | |
Static Public Member Functions | |
static MeshPartitionPtr | create () |
Create a new mesh partition. | |
Class that describes a sub-region of a mesh using vertex indexing.
Note that a face is considered to be a triangle.