class LensRenderModule
LensRenderModule handles a number of tasks related to Lens.
File location: samples/lens/lensrendermodule.h
Construction
Return type |
Description |
---|---|
Constructor with default behavior.
|
Methods
Return type |
Description |
---|---|
void |
Init (const json& initData)
Initialize FFX API Context, setup the intermediate color texture, and setup UI section for Lens.
|
void |
Execute (double deltaTime, cauldron::CommandList * pCmdList)
Setup input/output texture and parameters FFX API needs this frame and then call the FFX Dispatch.
|
void |
OnResize (const cauldron::ResolutionInfo & resInfo)
Called by the framework when resolution changes.
|
Detailed description
LensRenderModule handles a number of tasks related to Lens.
LensRenderModule takes care of:
-
creating UI section that enable users to switch between options of Lens
-
performing the lens effect and output to the color target
Construction
LensRenderModule
Constructor with default behavior.
Methods
Init
Initialize FFX API Context, setup the intermediate color texture, and setup UI section for Lens.
Execute
virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)
Setup input/output texture and parameters FFX API needs this frame and then call the FFX Dispatch.
OnResize
virtual void OnResize (const cauldron::ResolutionInfo & resInfo)
Called by the framework when resolution changes.