Dispose() публичный Метод

public Dispose ( ) : void
Результат void
Пример #1
0
        public void Dispose()
        {
            // HACK: Disposing the world from here violates ownership
            // but the WorldRenderer lifetime matches the disposal
            // behavior we want for the world, and the root object setup
            // is so horrible that doing it properly would be a giant mess.
            World.Dispose();

            palette.Dispose();
        }
Пример #2
0
 public void Dispose()
 {
     // HACK: Disposing the world from here violates ownership
     // but the WorldRenderer lifetime matches the disposal
     // behavior we want for the world, and the root object setup
     // is so horrible that doing it properly would be a giant mess.
     World.Dispose();
     //Game.ModData.ResetSequenceProviders();
     Game.Renderer.WorldSpriteRenderer.ClearTexturesShader();
     Game.Renderer.SpriteRenderer.ClearTexturesShader();
     palette.Dispose();
     Theater.Dispose();
 }
Пример #3
0
 public void Dispose()
 {
     palette.Dispose();
     sheetBuilder.Dispose();
 }
Пример #4
0
 public void Dispose()
 {
     palette.Dispose();
     Theater.Dispose();
     terrainRenderer.Dispose();
 }