|
Kohi Game Engine
|
Represents a window in the application. More...
#include <platform.h>
Data Fields | |
| const char * | name |
| The internal name of the window. More... | |
| const char * | title |
| The title of the window. More... | |
| u16 | width |
| The width of the window in pixels. More... | |
| u16 | height |
| The height of the window in pixels. More... | |
| f32 | device_pixel_ratio |
| Represents the pixel density of this window. Should only ever be read from, as the platform layer is responsible for determining this. More... | |
| b8 | resizing |
| Indicates if this window is currently being resized. More... | |
| u16 | frames_since_resize |
| Indicates the number of frames that have passed since the last resize event. More... | |
| struct kwindow_platform_state * | platform_state |
| Holds platform-specific data. More... | |
| struct kwindow_renderer_state * | renderer_state |
| Holds renderer-specific data. More... | |
Represents a window in the application.
| f32 device_pixel_ratio |
Represents the pixel density of this window. Should only ever be read from, as the platform layer is responsible for determining this.
| u16 frames_since_resize |
Indicates the number of frames that have passed since the last resize event.
| u16 height |
The height of the window in pixels.
| const char* name |
The internal name of the window.
| struct kwindow_platform_state* platform_state |
Holds platform-specific data.
| struct kwindow_renderer_state* renderer_state |
Holds renderer-specific data.
| b8 resizing |
Indicates if this window is currently being resized.
| const char* title |
The title of the window.
| u16 width |
The width of the window in pixels.