Beispiel #1
0
 public void SetGraphicsProfiler(CGraphicsProfiler profiler)
 {
     if (mCmdList != null)
     {
         mCmdList[0].SetGraphicsProfiler(profiler);
         mCmdList[1].SetGraphicsProfiler(profiler);
     }
 }
Beispiel #2
0
        public CGraphicsProfiler GetGraphicProfiler()
        {
            if (NoPixelShader == false && NoPixelWrite == false)
            {
                return(null);
            }
            var profiler = new CGraphicsProfiler();

            profiler.Init(NoPixelShader, NoPixelWrite, CIPlatform.Instance.PlatformType);
            return(profiler);
        }
Beispiel #3
0
        public void SetGraphicsProfiler(CGraphicsProfiler profiler)
        {
            mCopyPostprocessPass.SetGraphicsProfiler(profiler);

            mSSM?.SetGraphicsProfiler(profiler);
        }
Beispiel #4
0
 public void SetGraphicsProfiler(CGraphicsProfiler profiler)
 {
     mCmdListDB_Shadow[0].SetGraphicsProfiler(profiler);
     mCmdListDB_Shadow[1].SetGraphicsProfiler(profiler);
 }