Skip to main content

types Folder

Files Index

filehelios/engine/modules/scene/types/_module.ixx

Scene types submodule. More...

fileSceneId.ixx

Strongly-typed identifier for scenes. More...

fileSceneToViewportMap.ixx

Mapping between scene handles and their associated viewport handles. More...

Description

helios::engine::modules::scene::types

Types and data structures for scene management.

Types

TypePurpose
SceneToViewportMapMaps scenes to their associated viewports

SceneToViewportMap

Maintains the relationship between Scene objects and Viewport objects for rendering. A scene can be rendered through multiple viewports (e.g., split-screen), and the map provides O(1) lookups after cache updates.

Usage:

 SceneToViewportMap map;
 map.add(&gameScene, &mainViewport);
 map.add(&uiScene, &hudViewport);
 
 // Query scene for viewport
 auto* scene = map.scene(viewportId);
 
 // Query all viewports for a scene
 auto viewports = map.viewports(sceneId);

Related Modules

ModulePurpose
helios.engine.modules.scene.systemsSystems using the scene-to-viewport mapping
helios.sceneScene graph types
helios.renderingViewport definitions


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.