struct
MeshCreateInformation
Information used for creation of a new Mesh object.
Public
Constructors
MeshCreateInformation
Fields
VertexCount
Number of vertices in the mesh.
IndexCount
Number of indices in the mesh.
VertexDescription
Vertex description structure that describes how are vertices organized in the vertex buffer.
When binding a mesh to the pipeline you must ensure vertex description at least partially matches the input description of the currently bound vertex GPU program.
SubMeshes
Defines how are indices separated into sub-meshes, and how are those sub-meshes rendered.
Sub-meshes may be rendered independently.
IndexType
Size of indices, use smaller size for better performance, however be careful not to go over the number of vertices limited by the size.
Skeleton
Optional skeleton that can be used for skeletal animation of the mesh.
MorphShapes
Optional set of morph shapes that can be used for per-vertex animation of the mesh.