$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
pp_ubo.h File Reference

GPU-side Uniform Buffer Object layout for the post-processing uber-shader. More...

#include "gl_common.h"
#include <cglm/types.h>
#include <stdint.h>
Include dependency graph for pp_ubo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PostProcessUBO
 Shared Uniform Buffer structure for shaders. More...
 

Functions

 _Static_assert (_Alignof(PostProcessUBO) >=GL_UBO_ALIGNMENT, "PostProcessUBO" " must be >= 32-byte aligned for AVX (cglm)")
 

Detailed Description

GPU-side Uniform Buffer Object layout for the post-processing uber-shader.

Must match layout(std140) in the GLSL uber-shader.

Function Documentation

◆ _Static_assert()

_Static_assert ( _Alignof(PostProcessUBO) >=  GL_UBO_ALIGNMENT,
"PostProcessUBO" " must be >= 32-byte aligned for AVX (cglm)"   
)