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

Internal declarations shared across scene_*.c translation units. More...

#include "scene.h"
Include dependency graph for scene_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void scene_init_instancing (Scene *scene)
 Initialize instanced rendering data from the material library. More...
 

Detailed Description

Internal declarations shared across scene_*.c translation units.

NOT part of the public API — do not include from outside src/scene_*.c.

Function Documentation

◆ scene_init_instancing()

void scene_init_instancing ( Scene *  scene)

Initialize instanced rendering data from the material library.

Builds the SphereInstance array, uploads it to VBO, and configures billboard + instanced groups. Also seeds the light probe grid.

Used by scene_init (via scene_init_instanced_shader) and scene_toggle_nbody.

Here is the call graph for this function: