Skip to main content

GLFWWindowUserPointer.ixx File

Typed payload passed through GLFW's opaque user-pointer mechanism. More...

Included Headers

#include <helios.engine.platform.window.concepts.IsWindowHandle> #include <helios.engine.runtime.messaging.command.concepts> #include <helios.engine.runtime.world.EngineWorld>

Namespaces Index

namespacehelios
namespaceglfw
namespacetypes

Classes Index

structGLFWWindowUserPointer<THandle, TPlatformCommandBuffer>

Callback payload allowing GLFW callbacks to resolve window entity and game world. More...

Description

Typed payload passed through GLFW's opaque user-pointer mechanism.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.glfw.types.GLFWWindowUserPointer;
8
9import helios.engine.runtime.world.EngineWorld;
10import helios.engine.platform.window.concepts.IsWindowHandle;
11import helios.engine.runtime.messaging.command.concepts;
12
13using namespace helios::engine::runtime::world;
14using namespace helios::engine::platform::window::concepts;
15using namespace helios::engine::runtime::messaging::command::concepts;
16export namespace helios::glfw::types {
17
23 template<typename THandle, typename TPlatformCommandBuffer>
24 requires IsWindowHandle<THandle> && IsPlatformCommandBuffer<TPlatformCommandBuffer>
27 THandle windowHandle;
28
30 TPlatformCommandBuffer* platformCommandBuffer = nullptr;
31 };
32
33}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.