Expand description
CPU-side mesh data: procedural primitives and OBJ / glTF importers.
Structs§
- Albedo
- A decoded base-colour image that came with a model (glTF/GLB).
- Mesh
Data - Indexed CPU triangle mesh with optional imported material information. Indices refer into vertices; call validate before uploading externally generated data.
- Mesh
Part - A run of triangles that share one imported material (one glTF primitive group).
- Proc
Params - Parameters of a procedural mesh; stored in the
Shapecomponent and encoded in the mesh key. - Vertex
- Interleaved CPU/GPU vertex layout: position, normal and UV, all 32-bit floats.
Constants§
- PRIMITIVES
- Lowercase names accepted by MeshData::primitive and primitive mesh keys.
- PRIMITIVE_
PREFIX - Prefix for built-in unit primitive mesh keys.
- PROC_
PREFIX - Prefix for parameterized procedural geometry keys.