Пример #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();
            Theater.Dispose();
            terrainRenderer.Dispose();
        }
Пример #2
0
 public void Dispose()
 {
     palette.Dispose();
     Theater.Dispose();
     terrainRenderer.Dispose();
 }