PlatformInitSystem.ixx File
System that requests runtime platform initialization while session is not initialized. More...
Included Headers
#include <helios.ecs.components.Active>
#include <helios.engine.runtime.messaging.command.concepts.IsCommandBufferLike>
#include <helios.engine.runtime.messaging.command.NullCommandBuffer>
#include <helios.engine.runtime.world>
#include <helios.engine.platform.lifecycle.commands>
#include <helios.engine.runtime.world.tags.SystemRole>
#include <helios.engine.runtime.world.UpdateContext>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | platform |
| namespace | lifecycle |
| namespace | systems |
Classes Index
| class | PlatformInitSystem<TCommandBuffer> |
|
Submits PlatformInitCommand until session/runtime initialization completed. More... | |
Description
System that requests runtime platform initialization while session is not initialized.
File Listing
The file content with the documentation metadata removed is:
23using namespace helios::engine::runtime::world::tags;
24using namespace helios::engine::runtime::world;
25using namespace helios::engine::runtime::messaging::command;
27using namespace helios::engine::platform::lifecycle::commands;
28export namespace helios::engine::platform::lifecycle::systems {
36 requires IsCommandBufferLike<TCommandBuffer>
37 class PlatformInitSystem {
41 using CommandBuffer_type = TCommandBuffer;
46 using EngineRoleTag = SystemRole;
53 void update(UpdateContext& updateContext, TCommandBuffer& cmdBuffer) noexcept {
55 if (!updateContext.session().isInitialized()) {
56 cmdBuffer.template add<PlatformInitCommand>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.