Skip to content

File Scene.h

FileList > scene > Scene.h

Go to the source code of this file

Scene container holding all scene objects and scene-wide state.More...

  • #include "Mesh.h"
  • #include "Camera.h"
  • #include "Light.h"
  • #include "PolygonLight.h"
  • #include "Environment.h"
  • #include "DebugLine.h"
  • #include "DebugPoints.h"
  • #include "PostProcessing.h"
  • #include "SDFField.h"

Classes

Type Name
class Scene
Container for all scene objects and scene-wide state.

Detailed Description

Provides the Scene class which aggregates cameras, lights, meshes, environments, and other renderable objects into a unified scene graph.

Architecture: * Scene: Owns all scene objects via shared_ptr maps * Context queries Scene to obtain active camera, environment, object lists * Renderer reads Scene as immutable scene graph

Note:

Scene objects are stored in type-specific maps (cam_list, mesh_list, etc.).

Note:

Active objects (camera, environment) are tracked separately for fast lookup.


The documentation for this class was generated from the following file src/scene/Scene.h