Пример #1
0
        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();
        }