ADL.RenderSupport.shutdown C# (CSharp) Method

shutdown() public method

public shutdown ( ) : void
return void
        public void shutdown()
        {
            foreach (KeyValuePair<int, WeakReference> entry in _activeRenderers)
            {
                if (entry.Value.IsAlive)
                {
                    ((ManualRenderer)entry.Value.Target).stop(false);
                }
            }
            _activeRenderers.Clear();
        }

Usage Example

Example #1
0
 internal void platformDisposed()
 {
     _platformHandle = IntPtr.Zero;
     _renderSupport.shutdown();
 }