Skip to main content

GLFWWindowUserPointer Struct

A structure to hold user defined data associated with a GLFWwindow. More...

Declaration

struct helios::ext::glfw::window::GLFWWindowUserPointer { ... }

Public Member Attributes Index

helios::app::Application *application = nullptr

Non-owning pointer to the Application instance the window belongs to. More...

helios::window::Window *window = nullptr

A non-owning pointer to the Window instance owning this struct. More...

Description

A structure to hold user defined data associated with a GLFWwindow.

This struct is intended to be used with `glfwSetWindowUserPointer` to allow GLFW callbacks access data held within this struct.

See Also

https://www.glfw.org/docs/latest/group__window.html#ga3d2fc6026e690ab31a13f78bc9fd3651

Definition at line 18 of file GLFWWindowUserPointer.ixx.

Public Member Attributes

application

helios::app::Application* helios::ext::glfw::window::GLFWWindowUserPointer::application = nullptr

Non-owning pointer to the Application instance the window belongs to.

Definition at line 22 of file GLFWWindowUserPointer.ixx.

window

helios::window::Window* helios::ext::glfw::window::GLFWWindowUserPointer::window = nullptr

A non-owning pointer to the Window instance owning this struct.

Definition at line 27 of file GLFWWindowUserPointer.ixx.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.