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
BufferVec
can 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
GenericMesh
trait helps theMesh
struct to be able to turn into an object - Generic
Mesh With Material - The
GenericMeshWithMaterial
trait helps theMeshWithMaterial
struct to be able to turn into an object
Type Aliases§
- Static
Mesh - The most typical static mesh type: use
BufferVecStatic
for vertices and elements(indices), useBufferVecDynamic
for instances and draw commands