bool InitGraphics(const ViewConfig& config, Device::Window* window, ThreadId renderThreadId = 0);
InitGraphics creates and initializes the window on screen. The rendering device is configured.
Parameters |
Description |
const ViewConfig& config |
The view configuration settings for the window. |
Device::Window* window |
The rendering device window. |
ThreadId renderThreadId = 0 |
The Id of the render thread. |
Returns true if window initialization succeeded and 0 if failed.