Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
scene_uniforms.h File Reference

Shader uniform cache structs and GPU UBO layouts for scene rendering. More...

#include "gl_common.h"
#include "light_probes.h"
Include dependency graph for scene_uniforms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  InstancedUniforms
 Cached uniform locations for PBR instanced rendering. More...
 
struct  DebugUniforms
 Cached uniform locations for debug line rendering. More...
 
struct  BillboardUBO
 GPU-side uniform buffer for billboard rendering (std140 layout). More...
 
struct  BillboardUniforms
 Cached uniform locations for billboard rendering. More...
 

Enumerations

enum  { MAT4_FLOAT_COUNT = 16 }
 

Detailed Description

Shader uniform cache structs and GPU UBO layouts for scene rendering.

These types are implementation details of the rendering pipeline. They are separated from scene.h to keep the public Scene interface lean. Only scene_init.c, scene_render.c, and scene_cleanup.c need these details.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAT4_FLOAT_COUNT