$darkmode
Encapsulates all 3D scene data, geometry, and rendering state. More...
#include <scene.h>
Encapsulates all 3D scene data, geometry, and rendering state.
| AAMode Scene::aa_mode |
AA Mode: Screen-space or Curvature.
| BillboardGroup Scene::billboard_group |
Managed buffers for billboards.
| int Scene::billboard_mode |
Toggle for billboard rendering path.
| GLuint Scene::billboard_ubo |
UBO for billboard per-frame uniforms.
| void* Scene::billboard_ubo_ptr |
Persistent mapped CPU pointer for UBO.
| BillboardUniforms Scene::billboard_uniforms |
Cached locations.
| GLuint Scene::bound_ibl_textures[IBL_TEXTURE_COUNT] |
Last IBL active.
| GLuint Scene::bound_probe_ssbo |
Last probe SSBO bound.
| GLuint Scene::bound_sh_textures[SH_TEXTURE_COUNT] |
Last SH tex bound.
| GLuint Scene::brdf_lut_tex |
Shared BRDF lookup table.
| int Scene::current_hdr_index |
Index of active HDR in file list.
| Shader* Scene::debug_shader |
Generic debug/visualization shader.
| DebugUniforms Scene::debug_uniforms |
Cached locations.
| GLuint Scene::dummy_black_tex |
Safe fallback (0,0,0,1).
| GLuint Scene::dummy_white_tex |
Safe fallback (1,1,1,1).
| GLuint Scene::empty_vao |
Vertex-less drawing VAO.
| float Scene::env_lod |
Skybox blurriness.
| IcosphereGeometry Scene::geometry |
High-poly sphere mesh data.
| GIMode Scene::gi_mode |
Selected GI sampling method.
| int Scene::hdr_count |
Number of available environment maps.
| char** Scene::hdr_files |
List of found HDR files in assets.
| GLuint Scene::hdr_texture |
Active HDR cubemap.
| IBLCoordinator Scene::ibl_coord |
IBL state machine (Compute shaders owned by Scene).
| InstancedGroup Scene::instanced_group |
Managed buffers for opaque spheres.
| InstancedUniforms Scene::instanced_uniforms |
Cached locations.
| GLuint Scene::irradiance_tex |
Active Irradiance map.
| GLuint Scene::lum_ssbo[2] |
Double-buffered storage for luminance.
| MaterialLib* Scene::material_lib |
Loaded material presets.
| int Scene::pbr_debug_mode |
Swap to wireframe/normal/roughness
| Shader* Scene::pbr_instanced_shader |
Shared PBR shader for opaque geo.
| LightProbeGrid Scene::probe_grid |
Global Illumination spatial grid.
| GLuint Scene::quad_vbo |
Shared full-screen quad (FSQ).
| GLuint Scene::recycled_hdr_tex |
Recycled texture for next load.
| GLuint Scene::shader_irmap |
Internal IBL irradiance shader.
| GLuint Scene::shader_lum_pass1 |
Luminance downsample pass.
| GLuint Scene::shader_lum_pass2 |
Mean luminance compute pass.
| GLuint Scene::shader_spmap |
Internal IBL specular shader.
| int Scene::show_envmap |
Draw skybox toggle.
| int Scene::show_probe_grid |
Debug visualization of probes.
| SortingMode Scene::sorting_mode |
Selected sorting algorithm.
| GLuint Scene::spec_prefiltered_tex |
Active Specular map.
| int Scene::specular_aa_enabled |
Screen-Space Specular Anti-Aliasing.
| GLuint Scene::sphere_ebo |
Shared index buffer.
| int Scene::sphere_instance_count |
Active sphere count.
| SphereInstance* Scene::sphere_instances |
Persistent array for sorting.
| GLuint Scene::sphere_nbo |
Shared normal buffer.
| SphereSorter Scene::sphere_sorter |
Sorter for alpha blending.
| GLuint Scene::sphere_vao |
Shared geometry VAO.
| GLuint Scene::sphere_vbo |
Shared vertex buffer.
| int Scene::subdivisions |
LOD of the shared icosphere.
| GLuint Scene::transition_snapshot_tex |
For crossfade mode.
| GLuint Scene::wire_cube_vbo |
Shared wireframe cube.
| GLuint Scene::wire_quad_vbo |
Shared wireframe quad.
| int Scene::wireframe |
OpenGL wireframe mode toggle.