Example #1
0
        public void PostprocessWork()
        {
            CommandList commandList = m_RC.FinishCommandList(false);

            Profiler.MyGpuProfiler.IC_BeginBlock(m_debugName + m_frustumIndex);
            MyRender11.RC.ExecuteCommandList(commandList, false);
            Profiler.MyGpuProfiler.IC_EndBlock();

            commandList.Dispose();
            MyManagers.DeferredRCs.FreeRC(m_RC);

            int passHash = ((int)m_frustumType) << 10 | m_frustumIndex;

            MyRender11.GatherPassStats(passHash, m_debugName, m_stats);
        }