$darkmode
Aligned structure for SSBO storage (std430 layout). More...
#include <ssbo_rendering.h>
Data Fields | |
| mat4 | model |
| vec3 | albedo |
| float | metallic |
| float | roughness |
| float | ao |
| float | _padding [2] |
Aligned structure for SSBO storage (std430 layout).
Each instance occupies exactly 80 bytes to maintain alignment.
| float SphereInstanceSSBO::_padding[2] |
8 bytes - padding to reach 80 bytes total.
| vec3 SphereInstanceSSBO::albedo |
12 bytes.
| float SphereInstanceSSBO::ao |
4 bytes.
| float SphereInstanceSSBO::metallic |
4 bytes.
| mat4 SphereInstanceSSBO::model |
64 bytes (4x vec4).
| float SphereInstanceSSBO::roughness |
4 bytes.