Skip to main content

WindowCreateSystem Class Template

Queues WindowCreateCommand for active entities with pending create requests. More...

Declaration

template <typename THandle, typename TCommandBuffer = NullCommandBuffer> class helios::engine::platform::window::systems::WindowCreateSystem<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

Scans create requests and submits create commands. More...

Description

Queues WindowCreateCommand for active entities with pending create requests.

Template Parameters
THandle

Window-domain entity handle type.

Definition at line 41 of file WindowCreateSystem.ixx.

Public Member Typedefs

CommandBuffer_type

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

Definition at line 45 of file WindowCreateSystem.ixx.

EngineRoleTag

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

Engine role marker used by runtime registries.

Definition at line 50 of file WindowCreateSystem.ixx.

Public Member Functions

update()

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

Scans create requests and submits create commands.

Parameters
updateContext

Frame-local update context.

Definition at line 57 of file WindowCreateSystem.ixx.

58
59 for (auto [entity, win, active]: updateContext.view<
62 >().whereEnabled()) {
63
65 entity.handle(),
66 win->windowConfig
67 );
68 }
69 }

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.