|
SBgl 0.1.0
A graphics framework in C99
|
Per-instance data for automated batching. More...
#include <sbgl_types.h>

Data Fields | |
| sbgl_Mat4 | transform |
| sbgl_Vec4 | color |
Per-instance data for automated batching.
This structure is uploaded to the GPU as an SSBO and accessed via Buffer Device Address (BDA) in the vertex shader.
Definition at line 19 of file sbgl_types.h.
| sbgl_Vec4 sbgl_InstanceData::color |
Per-instance color tint.
Definition at line 21 of file sbgl_types.h.
| sbgl_Mat4 sbgl_InstanceData::transform |
World transformation matrix.
Definition at line 20 of file sbgl_types.h.