class HybridShadowsRenderModule

File location: samples/hybridshadows/hybridshadowsrendermodule.h

Construction

Return type

Description

HybridShadowsRenderModule ()

Methods

Return type

Description

void

Init (const json& initData)
Initialize FFX API context and set up UI.

void

Execute (double deltaTime, cauldron::CommandList * pCmdList)
Dispatch the Classifier using FFX API.

void

TileDebugCallback (double deltaTime, cauldron::CommandList * pCmdList)
Runs a debug tile visualization pass over the geometry.

void

Recreate the FFX API context to resize internal resources. Called by the framework when the resolution changes.

Detailed description

Methods

Init

Copied!

virtual void Init (const json& initData)

Initialize FFX API context and set up UI.

Parameters:

initData

Not used.


Execute

Copied!

virtual void Execute (double deltaTime, cauldron::CommandList * pCmdList)

Dispatch the Classifier using FFX API.

Parameters:

deltaTime

Not used.

pCmdList

Command list on which to dispatch.


TileDebugCallback

Copied!

void TileDebugCallback (double deltaTime, cauldron::CommandList * pCmdList)

Runs a debug tile visualization pass over the geometry.


OnResize

Copied!

virtual void OnResize (const cauldron::ResolutionInfo & resInfo)

Recreate the FFX API context to resize internal resources. Called by the framework when the resolution changes.

Parameters:

resInfo

New resolution info.