CreateAsyncGraphicsFence
Shortcut for calling Graphics.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
CreateAsyncGraphicsFence(SynchronisationStage)
Shortcut for calling Graphics.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
public static GraphicsFence CreateAsyncGraphicsFence(SynchronisationStage stage)
Parameters
Which SynchronisationStage to insert the fence after.
Returns
Type | Description |
|---|---|
| GraphicsFence | Returns a new GraphicsFence. |
Remarks
Additional Resources: GraphicsFence, Graphics.WaitOnAsyncGraphicsFence, CommandBuffer.WaitOnAsyncGraphicsFence.
CreateAsyncGraphicsFence()
Shortcut for calling Graphics.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
public static GraphicsFence CreateAsyncGraphicsFence()
Returns
Type | Description |
|---|---|
| GraphicsFence | Returns a new GraphicsFence. |
Remarks
Additional Resources: GraphicsFence, Graphics.WaitOnAsyncGraphicsFence, CommandBuffer.WaitOnAsyncGraphicsFence.