跳至内容

LPMRenderModule

class LPMRenderModule : public ToneMappingRenderModule

继承 ToneMapping 渲染模块,并将其设置为默认的色调和色域映射器。LPMRenderModule::Init() 设置将用作 LPM 进行色调和色域映射的输入的参数。这包括输入和输出资源,以及 ffx_lpm 头文件中描述的所有参数。LPMRenderModule::Execute() 调用 ffx_lpm.cpp 中的 dispatch 函数,该函数调用函数在 CPU 端设置 LPM 常量,最后调用 LPM 计算着色器上的 dispatch,这将调用 LPMFilter 调用来执行色调和色域映射。

继承自: public ToneMappingRenderModule

来源: samples/lpm/lpmrendermodule.h (第 60 行, 第 1 列)

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