$darkmode
Internal declarations shared across scene_*.c translation units. More...
#include "scene.h"Go to the source code of this file.
Functions | |
| void | scene_init_instancing (Scene *scene) |
| Initialize instanced rendering data from the material library. More... | |
Internal declarations shared across scene_*.c translation units.
NOT part of the public API — do not include from outside src/scene_*.c.
| 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.