Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SynchronisationStageFlags

Describes the various stages of GPU processing against which the GraphicsFence can be set and waited against.
Read time 1 minuteLast updated 4 days ago

Definition

public enum SynchronisationStageFlags

Remarks

The enum values can be combined; for example, a GraphicsFence created with SynchronisationStageFlags.VertexProcessing | SynchronisationStageFlags.ComputeProcessing flags would complete once all previous draw calls have completed their vertex shaders and all previous compute shader dispatches have completed.

Fields

Value

Description

AllGPUOperationsAll previous GPU operations (vertex, pixel and compute).
ComputeProcessingAll compute shader dispatch operations.
PixelProcessingAll aspects of pixel processing in the GPU.
VertexProcessingAll aspects of vertex processing in the GPU.