Example #1
0
 /// <summary>
 ///
 /// </summary>
 internal static void DisposeStates()
 {
     Default.Dispose();
     Readonly.Dispose();
     None.Dispose();
     LightMark.Dispose();
     LightPass.Dispose();
     Sky.Dispose();
 }
        public void Dispose()
        {
            activePipeline.Dispose();

            foreach (Renderer3D renderer in Renderer3Ds.Values)
            {
                renderer.Dispose();
            }
            foreach (Renderer2D renderer in Renderer2Ds.Values)
            {
                renderer.Dispose();
            }
            Sky.Dispose();

            GManager.CleanUpFinal();
        }
Example #3
0
 public void Dispose()
 {
     _Sky.Dispose();
 }