Device::InitGraphics

Device::InitGraphics
bool InitGraphics(const ViewConfig& config, Device::Window* window, ThreadId renderThreadId = 0);
Description

InitGraphics initializes the graphics rendering settings on the device.

Parameters
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. 
Return Value

Returns true for successful initialization and false on error.