public override void Cleanup()
        {
            mForwardBasePass.Cleanup();
            mCopyPostprocessPass.Cleanup();

            BaseSceneView.Cleanup();
            BaseSceneView = null;

            SwapChain.Cleanup();
            SwapChain = null;

            //shadow ssm
            mCSM.Cleanup();

            //hitproxy
            mHitProxy.Cleanup();

            //picked effect;
            mPickedEffect.Cleanup();

            //post effect
            mBloomMobile.Cleanup();
            mSunShaftMobile.Cleanup();
            mMobileAO.Cleanup();

            base.Cleanup();
        }
示例#2
0
        public override void Cleanup()
        {
            mForwardBasePass.Cleanup();
            mCopyPostprocessPass.Cleanup();

            BaseSceneView.Cleanup();
            BaseSceneView = null;

            //shadow ssm
            mSSM.Cleanup();

            //post effect
            mBloomMobile.Cleanup();
            mSunShaftMobile.Cleanup();
            mMobileAO.Cleanup();

            base.Cleanup();
        }