$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
scene_shaders.h
Go to the documentation of this file.
1 #ifndef SCENE_SHADERS_H
2 #define SCENE_SHADERS_H
3 
9 #include "scene_uniforms.h"
10 #include "shader.h"
11 
16 typedef struct SceneShaders {
22 #ifdef USE_SSBO_RENDERING
23  Shader* pbr_ssbo;
24 #endif
25 
26  /* --- Uniform Caches --- */
30 } SceneShaders;
31 
32 #endif /* SCENE_SHADERS_H */
Shader uniform cache structs and GPU UBO layouts for scene rendering.
High-level OpenGL shader management with metadata and uniform caching.
Cached uniform locations for billboard rendering.
Definition: scene_uniforms.h:87
Cached uniform locations for debug line rendering.
Definition: scene_uniforms.h:44
Cached uniform locations for PBR instanced rendering.
Definition: scene_uniforms.h:21
All shader pointers and uniform caches owned by the scene.
Definition: scene_shaders.h:16
Shader * debug
Definition: scene_shaders.h:19
Shader * pbr_billboard
Definition: scene_shaders.h:18
InstancedUniforms instanced_uniforms
Definition: scene_shaders.h:28
BillboardUniforms billboard_uniforms
Definition: scene_shaders.h:27
Shader * pbr_instanced
Definition: scene_shaders.h:17
DebugUniforms debug_uniforms
Definition: scene_shaders.h:29
Shader * skybox
Definition: scene_shaders.h:21
Shader * debug_line
Definition: scene_shaders.h:20
Wrapper for an OpenGL program with uniform caching and automatic cleanup.
Definition: shader.h:71