PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
window
glfw
callback_registration.h
1
#pragma once
2
3
#include "callback_state.h"
4
5
#include <glm/glm.hpp>
6
7
struct
GLFWwindow;
8
9
namespace
pixelbullet
10
{
11
class
Window
;
12
}
13
14
namespace
pixelbullet::glfw_window_internal
15
{
16
struct
WindowCallbackAccess
17
{
18
[[nodiscard]]
static
Window
& GetWindow(GLFWwindow* window);
19
[[nodiscard]]
static
CallbackStateRef
GetCallbackState(
Window
& window);
20
[[nodiscard]]
static
glm::vec2& GetContentScale(
Window
& window);
21
};
22
23
void
RegisterCallbacks(GLFWwindow* window);
24
}
// namespace pixelbullet::glfw_window_internal
pixelbullet::Window
Definition
window.h:34
pixelbullet::glfw_window_internal::CallbackStateRef
Definition
callback_state.h:8
pixelbullet::glfw_window_internal::WindowCallbackAccess
Definition
callback_registration.h:17
Generated by
1.16.1