types Folder
Files Index
| file | helios/engine/modules/scene/types/_module.ixx |
|
Scene types submodule. More... | |
| file | SceneId.ixx |
|
Strongly-typed identifier for scenes. More... | |
| file | SceneToViewportMap.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
| Type | Purpose |
|---|---|
| SceneToViewportMap | Maps 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
| Module | Purpose |
|---|---|
| helios.engine.modules.scene.systems | Systems using the scene-to-viewport mapping |
| helios.scene | Scene graph types |
| helios.rendering | Viewport definitions |
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.