Context::Shutdown

Context::Shutdown
void Shutdown(bool waitFlag);
Description

Shutdown is called from the Advance thread and begins the shutdown procedure on a rendering Context. This disables the capture and will trigger ShutdownRendering call on the rendering thread. If 'waitFlag' is true, the function will return only after shutdown is complete; this is done automatically in the Context destructor.

Parameters
Parameters 
Description 
bool waitFlag 
A Boolean flag, if set to true then the function will block until the shutdown is complete.