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

GPU resource handles extracted from Scene to reduce fan-out. More...

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

Go to the source code of this file.

Data Structures

struct  SceneGPUResources
 All GPU resource handles owned by the scene. More...
 

Enumerations

enum  { IBL_TEXTURE_COUNT = 3 }
 
enum  { TEXTURE_UNIT_IBL_START = 15 }
 

Detailed Description

GPU resource handles extracted from Scene to reduce fan-out.

Owns all GLuint handles for textures, buffers, VAOs, and compute programs that were previously scattered across the Scene struct.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
IBL_TEXTURE_COUNT 

◆ anonymous enum

anonymous enum
Enumerator
TEXTURE_UNIT_IBL_START