跳至内容

FfxDenoiserContext

struct FfxDenoiserContext

封装 FidelityFX 去噪器上下文的结构。

这会设置一个包含去噪器所需的所有持久内部数据和资源的.*

FfxDenoiserContext 对象应与您使用去噪器的生命周期相匹配。在销毁去噪器上下文之前,应确保 GPU 未在使用去噪器创建或使用的资源。因此,建议在销毁去噪器上下文之前 GPU 处于空闲状态。

公共接口

公共成员

uint32_t data

uint32_t data

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

来源: sdk/include/FidelityFX/host/ffx_denoiser.h (第 178 行,第 33 列)

使用于: FfxDenoiser, HybridReflectionsRM, HybridShadowsRenderModule

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

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