文档

Unity Engine

Unity Engine

CreateAsyncGraphicsFence

Shortcut for calling CommandBuffer.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
阅读时间1 分钟最后更新于 13 小时前

Definition

CreateAsyncGraphicsFence()

Shortcut for calling CommandBuffer.CreateGraphicsFence with GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
public GraphicsFence CreateAsyncGraphicsFence()

Returns

Type

Description

GraphicsFenceReturns a new GraphicsFence.

Remarks

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

GraphicsFenceReturns a new GraphicsFence.

Remarks