SceneRenderingSystem Class
Renders scenes through their configured viewports. More...
Declaration
Public Member Typedefs Index
| using | EngineRoleTag = helios::engine::common::tags::SystemRole |
Public Constructors Index
| SceneRenderingSystem (helios::rendering::RenderingDevice &renderingDevice, helios::engine::modules::scene::types::SceneToViewportMap &sceneToViewportMap) | |
|
Constructs the system with required dependencies. More... | |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept |
|
Renders all active viewports for this frame. More... | |
Private Member Attributes Index
| helios::rendering::RenderingDevice & | renderingDevice_ |
|
Reference to the rendering device for draw call submission. More... | |
| helios::engine::modules::scene::types::SceneToViewportMap & | sceneToViewportMap_ |
|
Reference to the scene-to-viewport mapping. More... | |
Description
Renders scenes through their configured viewports.
This system iterates over all active viewport IDs from the session, resolves the associated scene and viewport via SceneToViewportMap, creates a scene snapshot, and submits it to the rendering device.
The system runs in the Post phase after all gameplay updates are complete, ensuring the scene graph reflects the final state for this frame.
- See Also
- See Also
RenderingDevice
- See Also
RenderPassFactory
Definition at line 52 of file SceneRenderingSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 66 of file SceneRenderingSystem.ixx.
Public Constructors
SceneRenderingSystem()
| inline explicit |
Constructs the system with required dependencies.
- Parameters
-
renderingDevice The rendering device for submitting draw calls.
sceneToViewportMap Mapping from scenes to their viewports.
Definition at line 74 of file SceneRenderingSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Renders all active viewports for this frame.
Iterates over the session's active viewport IDs, resolves each to its scene and viewport, creates a snapshot, builds a RenderPass, and submits it to the rendering device.
- Parameters
-
updateContext The current frame's update context.
Definition at line 89 of file SceneRenderingSystem.ixx.
References helios::rendering::RenderPassFactory::buildRenderPass and helios::rendering::RenderPassFactory::getInstance.
Private Member Attributes
renderingDevice_
|
Reference to the rendering device for draw call submission.
Definition at line 57 of file SceneRenderingSystem.ixx.
sceneToViewportMap_
|
Reference to the scene-to-viewport mapping.
Definition at line 62 of file SceneRenderingSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.