Skip to content

Engine → Scene

scene_manager.h

Scene residency: the one scene over the world, the loaded scene records with their asset_load_batch, synchronous and deferred loads (replace or additive), unloads that cascade through the scene and release the assets, the layer names and the transform system the engine registers. Main thread only.

Structs

File Description
load_request_id Handle of a deferred load request (0 is invalid).
loaded_scene_info One loaded scene asset.
scene_manager::loaded_record
scene_manager::pending_load

Classes

File Description
layer_table Names of the 32 layers, filled by the engine from project.json.
scene_manager

Enumerations

load_mode

enum class load_mode : u8 {
    REPLACE,
    ADDITIVE
};

Whether a load replaces the current content or adds to it. Every load (load, load_file, request_load and C# Scene.Load) replaces unless ADDITIVE is asked for.