App::OnInitHelper

App::OnInitHelper
bool OnInitHelper(Platform::ViewConfig& config, const char* name, ThreadingType ttype = TT_Unspecified);
Description

OnInitHelper is provided to simplify OnInit initialization, while allowing RenderThread class to be customized. Should be called first thing from OnInit with modified ViewConfig and window name.

Parameters
Parameters 
Description 
Platform::ViewConfig& config 
The view configuration for setting the window. 
const char* name 
The name/title of the window. 
ThreadingType ttype = TT_Unspecified 
The render threading configuration type. 
Return Value

A value of true for successful initialization and false for error or 0 for exiting.