예제 #1
0
        public void Shutdown()
        {
            //Some resources will be doubly disposed, and veldrid's resource dispose collector
            //factory would also ensure most resources are disposed of anyway.
            //However, manually doing this for completeness, future usage and to catch non-veldrid resources
            //Some shutdowns also just call "destroyall" type methods that already exist. we could cut out the middle man

            _cameraManager.Shutdown();
            _renderStageManager.Shutdown();
            _viewportManager.Shutdown();
            _pipelineFactory.ClearPipelineList();
        }