bool InitGraphics(const ViewConfig& config, Device::Window* window, ThreadId renderThreadId = 0);
InitGraphics initializes the graphics rendering settings on the device.
Parameters |
Description |
const ViewConfig& config |
The view configuration for setting the window. |
Device::Window* window |
The rendering device window. |
ThreadId renderThreadId = 0 |
The Id of the rendering thread. |
Returns true for successful initialization and false on error.