class MeshProperties

Properties of a Mesh.

Shared between main and render thread counterparts of a Mesh.

Public

Constructors

MeshProperties

MeshProperties()

MeshProperties

MeshProperties(u32 vertexCount, u32 indexCount, DrawOperationType primitiveType)

MeshProperties

MeshProperties(u32 vertexCount, u32 indexCount, const Vector<SubMesh> &subMeshes)

Fields

SubMeshes

Vector<SubMesh> SubMeshes

Contains data used for rendering a certain portion(s) of this mesh.

VertexCount

u32 VertexCount

Maximum number of vertices the mesh may store.

IndexCount

u32 IndexCount

Maximum number of indices the mesh may store.

Bounds

Bounds Bounds

Bounds of the geometry contained in the vertex buffers for all sub-meshes.