![]() |
Aether3D Game Engine
|
Functions | |
void | Create (int width, int height, WindowCreateFlags flags) |
void | GetSize (int &outWidth, int &outHeight) |
bool | IsOpen () |
void | PumpEvents () |
Reads events from windowing system to be used in PollEvent depending on platform. | |
bool | PollEvent (WindowEvent &outEvent) |
void | SetTitle (const char *title) |
void | SwapBuffers () |
Displays the contents of the screen. | |
void ae3d::Window::Create | ( | int | width, |
int | height, | ||
WindowCreateFlags | flags | ||
) |
Creates a window and rendering context.
width | Width in pixels or 0 to use desktop width. |
height | Height in pixels or 0 to use desktop height. |
flags | Bitmask of creation flags. |
void ae3d::Window::GetSize | ( | int & | outWidth, |
int & | outHeight | ||
) |
outWidth | Returns window width in pixels. |
outHeight | Returns window height in pixels. |
bool ae3d::Window::IsOpen | ( | ) |
bool ae3d::Window::PollEvent | ( | WindowEvent & | outEvent | ) |
Reads and discards the most recent event.
void ae3d::Window::SetTitle | ( | const char * | title | ) |
title | Title. |