MaterialX 1.38.2
Public Member Functions | Static Public Member Functions | List of all members
MeshPartition Class Reference

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.
 
MeshIndexBuffergetIndices ()
 Return indexing.
 
const MeshIndexBuffergetIndices () 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.
 

Detailed Description

Class that describes a sub-region of a mesh using vertex indexing.

Note that a face is considered to be a triangle.


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