SceneMemberRenderContextExtractionSystem Class Template
System that extracts per-member render contexts for active viewports. More...
Declaration
Public Member Typedefs Index
template < ... > | |
| using | EngineRoleTag = helios::engine::runtime::world::tags::SystemRole |
|
Runtime role tag used for engine system registration. More... | |
template < ... > | |
| using | CommandBuffer_type = TCommandBuffer |
|
Command buffer type used by this extraction system. More... | |
Public Constructors Index
template < ... > | |
| SceneMemberRenderContextExtractionSystem (TCullingStrategy cullingStrategy=TCullingStrategy()) | |
|
Constructs the system with a culling strategy instance. More... | |
Public Member Functions Index
template < ... > | |
| void | update (helios::engine::runtime::world::UpdateContext &updateContext, TCommandBuffer &cmdBuffer) noexcept |
|
Extracts render commands for active viewports. More... | |
Private Member Attributes Index
template < ... > | |
| TCullingStrategy | cullingStrategy_ |
Private Static Attributes Index
template < ... > | |
| static auto & | logger_ = helios::engine::util::log::LogManager::loggerForScope(HELIOS_LOG_SCOPE) |
Description
System that extracts per-member render contexts for active viewports.
For each active viewport binding, the system resolves the bound scene and camera, evaluates the configured culling strategy for scene members, and writes accepted members as RenderCommands into the target command buffer.
- Template Parameters
-
TOwnerHandle Viewport entity handle type.
TMemberHandle Scene member handle type.
TCullingStrategy Frustum-culling strategy type.
TCommandBuffer Command buffer used for extracted render commands.
Definition at line 76 of file SceneMemberRenderContextExtractionSystem.ixx.
Public Member Typedefs
CommandBuffer_type
|
Command buffer type used by this extraction system.
Definition at line 88 of file SceneMemberRenderContextExtractionSystem.ixx.
EngineRoleTag
|
Runtime role tag used for engine system registration.
Definition at line 85 of file SceneMemberRenderContextExtractionSystem.ixx.
Public Constructors
SceneMemberRenderContextExtractionSystem()
| inline explicit |
Constructs the system with a culling strategy instance.
- Parameters
-
cullingStrategy Strategy used to decide whether a scene member should produce render work.
Definition at line 96 of file SceneMemberRenderContextExtractionSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Extracts render commands for active viewports.
- Parameters
-
updateContext Current frame update context.
cmdBuffer Command buffer receiving extracted render commands.
Definition at line 105 of file SceneMemberRenderContextExtractionSystem.ixx.
References helios::engine::scene::types::CullingContext< TMemberHandle >::handle, helios::engine::scene::types::SceneMemberRenderContext< TMemberHandle >::meshHandle and helios::engine::scene::registerComponents.
Private Member Attributes
cullingStrategy_
|
Definition at line 78 of file SceneMemberRenderContextExtractionSystem.ixx.
Private Static Attributes
logger_
| static |
Definition at line 80 of file SceneMemberRenderContextExtractionSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.