示例#1
0
        public override void TickRender(CSwapChain swapChain)
        {
            base.TickRender(SwapChain);

            var RHICtx = EngineNS.CEngine.Instance.RenderContext;

            if (RHICtx == null)
            {
                return;
            }

            //RHICtx.BindCurrentSwapChain(mSwapChain);

            //shadow ssm;
            mSSM.TickRender(RHICtx);

            mForwardBasePass.TickRender(RHICtx);

            //post effect;
            mMobileAO.TickRender(RHICtx);
            if (CEngine.EnableBloom == true)
            {
                mBloomMobile.TickRender(RHICtx);
            }

            mSunShaftMobile.TickRender(RHICtx);

            mCopyPostprocessPass.TickRender(RHICtx);

            swapChain.Present();
        }
        public override void TickRender(CSwapChain swapChain)
        {
            base.TickRender(SwapChain);

            var RHICtx = EngineNS.CEngine.Instance.RenderContext;

            if (RHICtx == null)
            {
                return;
            }
#if Test_Snapshot
            mTestSnapshort?.RenderTick(null);
#endif
            TickRender_Snapshots();

            //shadow ssm;
            mCSM.TickRender(RHICtx);

            //hit proxy;
            mHitProxy.TickRender();

            //picked effect;
            mPickedEffect.TickRender();

            mForwardBasePass.TickRender(RHICtx);

            //post effect;
            mMobileAO.TickRender(RHICtx);
            mBloomMobile.TickRender(RHICtx);
            mSunShaftMobile.TickRender(RHICtx);

            mCopyPostprocessPass.TickRender(RHICtx);

            SwapChain.Present();
        }
示例#3
0
        public override void TickRender(CSwapChain swapChain)
        {
            var RHICtx = EngineNS.CEngine.Instance.RenderContext;

            //shadow ssm;
            mSSM.TickRender(RHICtx);

            mForwardBasePass.TickRender(RHICtx);

            //post effect;
            mMobileAO.TickRender(RHICtx);
            if (CEngine.EnableBloom == true)
            {
                mBloomMobile.TickRender(RHICtx);
            }

            mSunShaftMobile.TickRender(RHICtx);

            mCopyPostprocessPass.TickRender(RHICtx);

            base.TickRender(null);
        }