Movie::ShutdownRendering

Movie::ShutdownRendering
virtual void ShutdownRendering(bool wait) = 0;
Description

ShutdownRendering shuts down rendering of the movie; it can be called before Movie is released to avoid render-thread block in destructor. 

After ShutdownRendering(false), IsShutdownRenderingComplete call can be used to determine when shutdown is complete. 

Advance, Invoke or other state-modifying functions should NOT be called once shutdown has started. 

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