![]() |
MaterialX 1.39.4
|
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. | |
| void | setName (const string &val) |
| Set the name of this partition. | |
| const string & | getName () const |
| Return the name of this partition. | |
| void | addSourceName (const string &val) |
| Add a source name, representing a partition that was processed to generate this one. | |
| const StringSet & | getSourceNames () const |
| Return the vector of source names, representing all partitions that were processed to generate this one. | |
| 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.