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
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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 |
|---|---|
| AllGPUOperations | All previous GPU operations (vertex, pixel and compute). |
| ComputeProcessing | All compute shader dispatch operations. |
| PixelProcessing | All aspects of pixel processing in the GPU. |
| VertexProcessing | All aspects of vertex processing in the GPU. |