Skip to main content

WarmupDoneSystem Class Template

Signals warmup completion through a typed state command buffer. More...

Declaration

template <typename THandle, typename TCommandBuffer = NullCommandBuffer> class helios::engine::platform::lifecycle::systems::WarmupDoneSystem<THandle, TCommandBuffer> { ... }

Public Member Typedefs Index

template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
usingCommandBuffer_type = TCommandBuffer
template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
usingEngineRoleTag = SystemRole

Engine role marker used by runtime registries. More...

Public Member Functions Index

template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
voidupdate (UpdateContext &updateContext, TCommandBuffer &cmdBuffer) noexcept

Queues StateCommand<EngineState> with WarmupDoneSignal when warmup resources are consumed. More...

Description

Signals warmup completion through a typed state command buffer.

Template Parameters
THandle

Shader handle type.

TCommandBuffer

Command buffer type used to queue state commands.

Definition at line 54 of file WarmupDoneSystem.ixx.

Public Member Typedefs

CommandBuffer_type

template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
using helios::engine::platform::lifecycle::systems::WarmupDoneSystem< THandle, TCommandBuffer >::CommandBuffer_type = TCommandBuffer

Definition at line 58 of file WarmupDoneSystem.ixx.

EngineRoleTag

template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
using helios::engine::platform::lifecycle::systems::WarmupDoneSystem< THandle, TCommandBuffer >::EngineRoleTag = SystemRole

Engine role marker used by runtime registries.

Definition at line 63 of file WarmupDoneSystem.ixx.

Public Member Functions

update()

template <typename THandle, typename TCommandBuffer = NullCommandBuffer>
void helios::engine::platform::lifecycle::systems::WarmupDoneSystem< THandle, TCommandBuffer >::update (UpdateContext & updateContext, TCommandBuffer & cmdBuffer)
inline noexcept

Queues StateCommand<EngineState> with WarmupDoneSignal when warmup resources are consumed.

Parameters
updateContext

Frame-local update context.

Definition at line 70 of file WarmupDoneSystem.ixx.

71
72 if (updateContext.view<
76 >().whereEnabled().empty()) {
77
80 updateContext.session().state<EngineState>(),
81 EngineStateTransitionId::WarmupDone
82 )
83 );
84
85 }
86
87
88 }

Reference helios::registerComponents.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.