|
SBgl 0.1.0
A graphics framework in C99
|
Internal storage for draw packets awaiting submission. More...

Data Fields | |
| sbgl_DrawPacket * | packets |
| sbgl_InstanceData * | instances |
| uint32_t | count |
| uint32_t | capacity |
| struct SblArena * | arena |
Internal storage for draw packets awaiting submission.
The render queue manages a contiguous array of draw packets that are sorted by their sort keys to minimize GPU state transitions during command recording.
Definition at line 25 of file sbgl_core.c.
| struct SblArena* sbgl_RenderQueue::arena |
Arena used for the packet array allocation.
Definition at line 30 of file sbgl_core.c.
| uint32_t sbgl_RenderQueue::capacity |
Total number of packets the queue can hold.
Definition at line 29 of file sbgl_core.c.
| uint32_t sbgl_RenderQueue::count |
Number of active packets in the queue.
Definition at line 28 of file sbgl_core.c.
| sbgl_InstanceData* sbgl_RenderQueue::instances |
Per-instance data (transforms, color).
Definition at line 27 of file sbgl_core.c.
| sbgl_DrawPacket* sbgl_RenderQueue::packets |
Contiguous array of draw commands.
Definition at line 26 of file sbgl_core.c.