bool OnInitHelper(Platform::ViewConfig& config, const char* name, ThreadingType ttype = TT_Unspecified);
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 |
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. |
A value of true for successful initialization and false for error or 0 for exiting.