Skip to main content

Module primitive

Module primitive 

Source
Expand description

Canonical renderer geometry and validated primitive construction.

Re-exports§

pub use crate::morph_target::MorphTarget;

Structs§

MorphedVertices
Vertex attributes with morph weights applied.
RenderPrimitive
A single drawable primitive and its canonical CPU-side vertex attributes.
RenderPrimitiveBuilder
Builds one renderer-ready primitive from programmatic vertex data.
SkinningSet
One indexed JOINTS_n / WEIGHTS_n pair from a glTF primitive.

Enums§

PrimitiveTopology
The draw topology of a primitive.