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(); }
public void Dispose() { palette.Dispose(); Theater.Dispose(); terrainRenderer.Dispose(); }