Function BlamRendering::DirectX::ShutdownRenderThread

Function Documentation

void BlamRendering::DirectX::ShutdownRenderThread()

Instructs the rendering thread to stop running.

Note

This will not stop the rendering thread instantly. If we are in the middle of drawing a frame, the frame will finish rendering before the thread is stopped. This sets an internal boolean to false, a boolean which is used in a while loop for the thread.