Exemplo n.º 1
0
        private void PushStartFenceAndExecuteCmdBuffer(CommandBuffer cmd, ScriptableRenderContext renderContext)
        {
            Debug.Assert(m_TaskStage == AsyncTaskStage.NotTriggered);

            m_StartFence = cmd.CreateAsyncGraphicsFence();
            renderContext.ExecuteCommandBuffer(cmd);
            cmd.Clear();

            m_TaskStage = AsyncTaskStage.StartFenceCreated;
        }