Modules
- Mesh generation for primitive shapes.
Structs
- The GPU-representation of a
Mesh
. Consists of a vertex data buffer and an optional index data buffer. - A 3D object made out of vertices representing triangles, lines, or points, with “attribute” values for each vertex.
- Adds the
Mesh
as an asset and makes sure that they are extracted and prepared for the GPU.
Enums
- Manner in which UV coordinates are distributed vertically.
- Failed to generate tangents for the mesh.
- The index/vertex buffer info of a
GpuMesh
. - An error when creating an icosphere
Mesh
from aSphereMeshBuilder
. - An array of indices into the
VertexAttributeValues
for a mesh. - Primitive type the input mesh is composed of.
- A type of sphere mesh.
- Contains an array where each entry describes a property of a single vertex. Matches the
VertexFormats
.
Constants
Traits
- A trait for shapes that can be turned into a
Mesh
.