跳至内容

FfxCasContext

struct FfxCasContext

封装 FidelityFX CAS 上下文的结构。

这会设置一个对象,其中包含 CAS 所需的所有持久内部数据和资源。

FfxCasContext 对象的使用寿命应与您使用 CAS 的时间相匹配。在销毁 CAS 上下文之前,应确保 GPU 不会访问 CAS 创建或使用的资源。因此,建议在销毁 CAS 上下文之前,GPU 处于空闲状态。

公共接口

公共成员

uint32_t data

uint32_t data

一组不透明的 uint32_t,其中包含上下文的数据。

来源: sdk/include/FidelityFX/host/ffx_cas.h (第 140 行,第 14 列)

被以下项使用: CASRenderModule, ffxCas

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

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