WindowSizeUpdateSystem.ixx File
Updates renderTarget-related state after window size changes. More...
Included Headers
#include <cassert>
#include <helios.engine.util.log>
#include <helios.engine.rendering.renderTarget>
#include <helios.ecs.components.Active>
#include <helios.engine.platform.window.components>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.spatial.components.Size2DComponent>
#include <helios.engine.platform.window.concepts.IsWindowHandle>
#include <helios.engine.runtime.world.tags.SystemRole>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | platform |
| namespace | window |
| namespace | systems |
Classes Index
| class | WindowSizeUpdateSystem<TMemberHandle> |
|
System that reacts to dirty window size components. More... | |
Macro Definitions Index
| #define | HELIOS_LOG_SCOPE "helios::engine::platform::window::systems::WindowSizeUpdateSystem" |
Description
Updates renderTarget-related state after window size changes.
Macro Definitions
HELIOS_LOG_SCOPE
|
Definition at line 33 of file WindowSizeUpdateSystem.ixx.
33#define HELIOS_LOG_SCOPE "helios::engine::platform::window::systems::WindowSizeUpdateSystem"
File Listing
The file content with the documentation metadata removed is:
24using namespace helios::engine::spatial::components;
25using namespace helios::engine::rendering::renderTarget::components;
26using namespace helios::engine::rendering::renderTarget::types;
27using namespace helios::engine::runtime::world::tags;
29using namespace helios::engine::runtime::world;
30using namespace helios::engine::platform::window::components;
33#define HELIOS_LOG_SCOPE "helios::engine::platform::window::systems::WindowSizeUpdateSystem"
34export namespace helios::engine::platform::window::systems {
42 requires IsWindowHandle<TMemberHandle>
43 class WindowSizeUpdateSystem {
45 static inline auto& logger_ = helios::engine::util::log::LogManager::loggerForScope(HELIOS_LOG_SCOPE);
50 using EngineRoleTag = SystemRole;
57 void update(UpdateContext& updateContext) noexcept {
59 TMemberHandle,
64 >().whereEnabled()) {
65 if (wsc->isDirty()) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.