跳至内容

FfxDofContextDescription

struct FfxDofContextDescription

一个封装初始化 FidelityFX 景深所需的参数的结构。

依赖项: FfxDimensions2D, FfxInterface

公共接口

公共成员

uint32_t 标志

uint32_t flags

一组 FfxDofInitializationFlagBits。

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

uint32_t 质量

uint32_t quality

DoF 模糊内核中使用的环数。

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

FfxDimensions2D 分辨率

FfxDimensions2D resolution

输入和输出纹理的分辨率。

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

FfxInterface backendInterface

FfxInterface backendInterface

指向 FidelityFX 后端实现的指针集合。

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

float cocLimitFactor

float cocLimitFactor

应用于弥散圆尺寸的限制,作为分辨率高度的因子。

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

被以下项使用: DofRM, ffxDof

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

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