Expand description
An upper layer wrapping for Mesh, utilizing the trait BufferVec as the Mesh generic type of the vertex buffer, element buffer, instance buffer, and command buffer
Structs§
- Mesh
- The mesh, every type of buffer is wrapped in a
BufferVeccan be manipulated just like aVec - Mesh
With Material
Enums§
- Element
Type - The type of the element buffer of the mesh, indicating the vertices were indexed by which type of index
- Primitive
Mode - The primitive mode of the mesh, indicating how to draw the vertices to which type of the shapes
Traits§
- Generic
Mesh - The
GenericMeshtrait helps theMeshstruct to be able to turn into an object - Generic
Mesh With Material - The
GenericMeshWithMaterialtrait helps theMeshWithMaterialstruct to be able to turn into an object
Type Aliases§
- Static
Mesh - The most typical static mesh type: use
BufferVecStaticfor vertices and elements(indices), useBufferVecDynamicfor instances and draw commands