|
Raito 0.1
|
Functions | |
| bool | Initialize (Renderer::API api, const WindowInfo &defaultInfo) |
| bool | Update () |
| void | Shutdown () |
| u32 | CreateNewWindow (const WindowInfo &info) |
| SysWindow & | GetWindow (const u32 id) |
| void | SetFullScreen (bool value) |
| void | SetVSync (bool value) |
| u32 Raito::Window::CreateNewWindow | ( | const WindowInfo & | info | ) |
Creates a window and returns the id
| info | The information for the window to be created |
Returns the window with a given ID
| id | ID of the window to get returned |
| bool Raito::Window::Initialize | ( | Renderer::API | api, |
| const WindowInfo & | defaultInfo = {} ) |
Initialization function for the window module
| api | Graphics API of the application |
| defaultInfo | Window information for the main window |
| void Raito::Window::SetFullScreen | ( | bool | value | ) |
Sets the main window to be on fullscreen mode
| value | of the fullscreen mode |
| void Raito::Window::SetVSync | ( | bool | value | ) |
Sets the main window V-Sync mode
| V-Sync | value |
| void Raito::Window::Shutdown | ( | ) |
Shutdown function for the window module Deletes all the created windows
| bool Raito::Window::Update | ( | ) |
EndTimeUpdate function for the window module Polls the events for all the windows