|
SBgl 0.1.0
A graphics framework in C99
|
Encapsulates all data required to submit a single draw call. Optimized for cache density (16 bytes). More...
#include <sbgl_types.h>
Data Fields | |
| sbgl_SortKey | key |
| uint32_t | header |
| uint32_t | _padding |
Encapsulates all data required to submit a single draw call. Optimized for cache density (16 bytes).
Definition at line 97 of file sbgl_types.h.
| uint32_t sbgl_DrawPacket::_padding |
Explicit padding for 16-byte alignment. (4 bytes)
Definition at line 100 of file sbgl_types.h.
| uint32_t sbgl_DrawPacket::header |
Packed MeshID, MaterialID, and rendering flags. (4 bytes)
Definition at line 99 of file sbgl_types.h.
| sbgl_SortKey sbgl_DrawPacket::key |
Sorting key based on material, mesh, and depth. (8 bytes)
Definition at line 98 of file sbgl_types.h.