RenderHALThread::InitGraphics

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

InitGraphics creates and initializes the window on screen. The rendering device is configured.

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

Returns true if window initialization succeeded and 0 if failed.