Berserk
|
Manager for OS windows. More...
#include <WindowManager.hpp>
Public Member Functions | |
virtual BRK_API | ~WindowManager ()=default |
virtual BRK_API Ref< Window > | CreateWindow (const StringName &name, const Size2i &size, const String &title)=0 |
CreateFromImage new OS native rendering window. More... | |
virtual BRK_API Ref< Window > | GetPrimaryWindow ()=0 |
Manager for OS windows.
|
virtualdefault |
|
pure virtual |
CreateFromImage new OS native rendering window.
Creates new window object with specified properties. Automatically initializes rendering context of window, so it is ready for actual rendering.
name | Unique name of the window in the engine |
size | Size of the window in units |
title | Window title to set |
Implemented in GlfwWindowManager.
Implemented in GlfwWindowManager.