跳至内容

FfxBarrierDescription

struct FfxBarrierDescription

包含创建屏障所需数据的结构。

依赖项: FfxResourceInternal

公共接口

公共成员

FfxResourceInternal 资源

FfxResourceInternal resource

资源的表示。

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1015 行, 第 25 列)

FfxBarrierType 屏障类型

FfxBarrierType barrierType

要执行的屏障类型。

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1016 行, 第 23 列)

FfxResourceStates 当前状态

FfxResourceStates currentState

资源的初始状态。

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1017 行, 第 23 列)

FfxResourceStates 新状态

FfxResourceStates newState

屏障后资源的全新状态。

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1018 行, 第 23 列)

uint32_t subResourceID

uint32_t subResourceID

要应用屏障操作的子资源 ID。

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1019 行, 第 23 列)

使用于: FfxGpuJobDescription

来源: sdk/include/FidelityFX/host/ffx_types.h (第 1013 行, 第 1 列)

© . This site is unofficial and not affiliated with AMD.