Skip to content

GeometryAttribute

Represents a vertex attribute layout.

Properties

item_size unsigned int

Number of components (e.g., 3 for Vector3).

cpp
unsigned int item_size {0};

type VertexAttributeType

Semantic type of the attribute.

cpp
VertexAttributeType type {VertexAttributeType::None};

Released under the MIT License.