Expand description
Instanced rendering — per-instance transform and color data.
InstanceData provides a standard per-instance layout (model matrix + color tint)
compatible with the vertex attribute locations used by AGNOS renderers.
InstanceBuffer wraps a GPU buffer with dynamic growth for frame-varying instance counts.
Structs§
- Instance
Buffer - Instance buffer — holds per-instance data on the GPU with dynamic growth.
- Instance
Data - Per-instance data: model matrix (column-major 4x4) + color tint.