Go to the source code of this file.
◆ create_window()
| void create_window |
( |
const char * |
title, |
|
|
const int |
width, |
|
|
const int |
height |
|
) |
| |
Creates the window and the context for OpenGL
- Parameters
-
| title | The title of the window, it'll show up in the upper section of the window |
| width | The window width in pixels |
| height | The window height in pixels |
◆ destroy_window()
| void destroy_window |
( |
void |
| ) |
|
Calls every deleter function for the graphical stuff
◆ swap_window_buffers()
| void swap_window_buffers |
( |
void |
| ) |
|
Swaps the current frame with the one rendered, call it every time at the end of the main loop (when everything has been drawn)
◆ update_window()
| void update_window |
( |
void |
| ) |
|
Clears the previous frame and renders the next frame