LpmRenderModule

LpmRenderModule Reference Documentation.

Classes

Name

Description

LPMRenderModule

class extends Tonemapping render module and sets itself as the default tone and gamut mapper. LPMRenderModule::Init() sets up the parameters which will be used as input to the tone and gamut mapping done by LPM This includes input and output resource, and all the parameters described in ffx_lpm header. LPMRenderModule::Execute() calls the dispatch function inside ffx_lpm.cpp which calls the functions to setup LPM consts on CPU side and finally call dispatch on LPM compute shader which will call the LPMFilter call to do the tone and gamut mapping.