Modules§
- Mesh generation for primitive shapes.
Structs§
- Our base mesh pipeline key bits start from the highest bit and go downward. The PBR mesh pipeline key bits start from the lowest bit and go upward. This allows the PBR bits in the downstream crate
bevy_pbr
to coexist in the same field without any shifts. - A builder used for creating a
Mesh
with aCircularSector
shape. - A builder used for creating a
Mesh
with aCircularSegment
shape. - A builder used for creating a
Mesh
with aConicalFrustum
shape. - 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. - Describes the layout of the mesh vertices in GPU memory.
- Stores the single copy of each mesh vertex buffer layout.
- A builder used for creating a
Mesh
with aRegularPolygon
shape. - A builder used for creating a
Mesh
with aTriangle2d
shape.
Enums§
- Manner in which UV coordinates are distributed vertically.
- Specifies how to generate UV-mappings for the
CircularSector
andCircularSegment
shapes. - Anchoring options for
ConeMeshBuilder
- Anchoring options for
CylinderMeshBuilder
- 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. - A type representing a segment of the perimeter of an extrudable 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
.