CreateAsyncGraphicsFence
Shortcut for calling CommandBuffer.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
CreateAsyncGraphicsFence()
Shortcut for calling CommandBuffer.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
public GraphicsFence CreateAsyncGraphicsFence()
Returns
Type | Description |
|---|---|
| GraphicsFence | Returns a new GraphicsFence. |
Remarks
Additional Resources: GraphicsFence, Graphics.WaitOnAsyncGraphicsFence, CommandBuffer.WaitOnAsyncGraphicsFence.
CreateAsyncGraphicsFence(SynchronisationStage)
Shortcut for calling CommandBuffer.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
public 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.