|
SBgl 0.1.0
A graphics framework in C99
|
Standard vertex structure for basic geometry rendering. Optimized for cache density (16 bytes). More...
#include <sbgl_types.h>
Data Fields | |
| int16_t | position [4] |
| uint32_t | color |
| uint32_t | _padding |
Standard vertex structure for basic geometry rendering. Optimized for cache density (16 bytes).
Definition at line 28 of file sbgl_types.h.
| uint32_t sbgl_Vertex::_padding |
Alignment padding. (4 bytes)
Definition at line 31 of file sbgl_types.h.
| uint32_t sbgl_Vertex::color |
Packed RGBA8 color. (4 bytes)
Definition at line 30 of file sbgl_types.h.
| int16_t sbgl_Vertex::position[4] |
SNORM position [3] + 1 padding. (8 bytes)
Definition at line 29 of file sbgl_types.h.