Function BlamRendering::DirectX::RenderThread¶
Defined in File rendering.h
Function Documentation¶
-
void
BlamRendering::DirectX
::
RenderThread
(bool debug)¶ Instructs the engine to start rendering on a separate thread.
This function replaecs the BlamRendering::DirectX::RenderLoop function entirely.
- Note
Do NOT call this function outside of a thread, ever. It uses a
while()
loop, and will block the thread it is called on until BlamRendering::DirectX::ShutdownRenderThread is called.- Parameters
debug
: - Legcay parameter enabling or disabling the crash screen display.