API reference

MeshGroup Struct

A struct that defines a grouping of mesh faces and the material that should be applied to the faces.

Fields

The offset in the index buffer of the first index in the group.
The number of faces that this group uses from the index buffer. The number of bytes read from the index buffer for the group is determined by the formula: (faceCount)*(verticesPerFace)*(bytesPerIndex)
The type of face that the group uses. This determines how many indices are needed to define a face.
A handle to the material that should be assigned to the group. If equal to 0/NULL/nullptr, a default material is used instead.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon