예제 #1
0
        public void Dispose()
        {
            _logger.Information("Disposing objects");
            _renderer.Dispose();
            _skybox.Dispose();
            _world.Dispose();
            _context.Dispose();
            _worldRenderer.Dispose();
            _ndcRenderer.Dispose();
            _skyboxRenderer.Dispose();
            _fullscreenShader.Dispose();
            _backbufferTexture.Dispose();

            _postprocessTexture.Dispose();
            _postprocessPipeline.Dispose();
        }
예제 #2
0
 protected override void Unsubscribed()
 {
     _skybox?.Dispose();
     _skybox = null;
     base.Unsubscribed();
 }