MTLRenderStages
The stages in a render pass that triggers a synchronization command.
Declaration
struct MTLRenderStagesOverview
Render stage boundaries provide synchronization opportunities within a render pass for specific resources and resource types. For example, you can designate render stage a synchronization point for a memory barrier or a fence (see memoryBarrier(resources:after:before:) and MTLFence, respectively). This allows a GPU to overlap its execution of two adjacent stages, which can shorten its overall runtime for the render pass.