Skip to main content

WarmupDoneSystem.ixx File

System that emits a game-state warmup-done transition when no active shader sources remain. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespaceplatform
namespacelifecycle
namespacesystems

Classes Index

classWarmupDoneSystem<THandle, TCommandBuffer>

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

Description

System that emits a game-state warmup-done transition when no active shader sources remain.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <concepts>
8
9export module helios.engine.platform.lifecycle.systems.WarmupDoneSystem;
10
11
12import helios.engine.runtime.world.UpdateContext;
13
14import helios.engine.runtime.world.tags.SystemRole;
15
16import helios.engine.runtime.messaging.command;
17
18import helios.engine.runtime.concepts;
19
20import helios.engine.runtime.world;
21import helios.ecs.components.Active;
22import helios.engine.rendering.shader.concepts;
23
24import helios.engine.rendering.shader.components;
25
26import helios.engine.state.commands;
27import helios.engine.state.types;
28
29import helios.engine.runtime.enginestate;
30
32using namespace helios::engine::rendering::shader::concepts;
33using namespace helios::engine::runtime::messaging::command::concepts;
34using namespace helios::ecs::components;
39using namespace helios::engine::state::types;
41
43
50 template<typename THandle, typename TCommandBuffer = NullCommandBuffer>
53 (!std::is_same_v<TCommandBuffer, NullCommandBuffer>)
55
56 public:
57
59
64
71
72 if (updateContext.view<
76 >().whereEnabled().empty()) {
77
80 updateContext.session().state<EngineState>(),
81 EngineStateTransitionId::WarmupDone
82 )
83 );
84
85 }
86
87
88 }
89
90 };
91
92
93
94}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.