Go to the source code of this file.
|
struct | Window |
| Structure representing the SDL window and its associated OpenGL context. More...
|
|
|
s8 | create_window (char *title, s32 x, s32 y, s32 width, s32 height, u32 flags, Window *window) |
| Creates a new SDL window with an OpenGL context.
|
|
void | refresh_resolution () |
| Refreshes the window resolution.
|
|
void | update_window (Window *window, struct Node *scene, struct Camera *c, struct WorldShaders *shaders, struct DepthMap *depthMap, struct Mesh *screenPlane) |
| Updates the window by rendering the scene and swapping the buffers.
|
|
void | refresh_ui (Window *window) |
| Refreshes the UI of the window.
|
|
void | free_window (Window *window) |
| Frees the resources associated with the window.
|
|
◆ SCREEN_WIDTH
◆ SCREEN_HEIGHT
#define SCREEN_HEIGHT 600 |