Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
Scene Struct Reference

Encapsulates all 3D scene data, geometry, and rendering state. More...

#include <scene.h>

Collaboration diagram for Scene:
[legend]

Data Fields

IcosphereGeometry geometry
 
InstancedGroup instanced_group
 
BillboardRenderer billboard_renderer
 
SphereInstance * billboard_instances
 
int billboard_instance_count
 
SceneSimulation * simulation
 
SceneGPUResources * gpu
 
SceneShaders * shaders
 
SceneVisuals * visuals
 
SceneLighting lighting
 
SceneConfig config
 
char ** hdr_files
 
int hdr_count
 
int current_hdr_index
 

Detailed Description

Encapsulates all 3D scene data, geometry, and rendering state.

Field Documentation

◆ billboard_instance_count

int Scene::billboard_instance_count

Active billboard count.

◆ billboard_instances

SphereInstance* Scene::billboard_instances

Persistent array for sorting.

◆ billboard_renderer

BillboardRenderer Scene::billboard_renderer

Managed buffers and renderer for billboards.

◆ config

SceneConfig Scene::config

Render configuration.

◆ current_hdr_index

int Scene::current_hdr_index

Index of active HDR in file list.

◆ geometry

IcosphereGeometry Scene::geometry

High-poly sphere mesh data.

◆ gpu

SceneGPUResources* Scene::gpu

GPU resource handles.

◆ hdr_count

int Scene::hdr_count

Number of available environment maps.

◆ hdr_files

char** Scene::hdr_files

List of found HDR files in assets.

◆ instanced_group

InstancedGroup Scene::instanced_group

Managed buffers for opaque spheres.

◆ lighting

SceneLighting Scene::lighting

IBL, probes, and materials.

◆ shaders

SceneShaders* Scene::shaders

Shader pointers + uniform caches.

◆ simulation

SceneSimulation* Scene::simulation

N-body simulation sub-system.

◆ visuals

SceneVisuals* Scene::visuals

Visual effects (skybox, trails, VFX).


The documentation for this struct was generated from the following file: