Skip to content

GeometryAttribute

Represents a vertex attribute layout.

Properties

item_size unsigned int

cpp
unsigned int item_size { 0 }

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

type VertexAttributeType

cpp
VertexAttributeType type { VertexAttributeType::None }

Semantic type of the attribute.

Released under the MIT License.