class BrixelizerGIRenderModule

File location: samples/brixelizergi/brixelizergirendermodule.h

Construction

Return type

Description

Constructor with default behavior.

Methods

Return type

Description

void

Init (const json& initData)
Tear down the FFX API Context and release resources.

void

EnableModule (bool enabled)
Initialize FFX API Context, Brixelizer context, create resources and setup UI section.

void

Execute (double deltaTime, cauldron::CommandList * pCmdList)
Submit dynamic instances, dispatch Brixelizer workloads and visualize sparse distance field using the example shader.

void

Window resize callback with default behavior.

void

Create Brixelizer instances for all loaded mesh geometry.

void

Delete Brixelizer instances for all unloaded mesh geometry.

Detailed description

Construction

BrixelizerGIRenderModule

Copied!

BrixelizerGIRenderModule ()

Constructor with default behavior.


Methods

Init

Copied!

virtual void Init (const json& initData)

Tear down the FFX API Context and release resources.


EnableModule

Copied!

virtual void EnableModule (bool enabled)

Initialize FFX API Context, Brixelizer context, create resources and setup UI section.


Execute

Copied!

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

Submit dynamic instances, dispatch Brixelizer workloads and visualize sparse distance field using the example shader.


OnResize

Copied!

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

Window resize callback with default behavior.


OnNewContentLoaded

Copied!

virtual void OnNewContentLoaded (cauldron::ContentBlock * pContentBlock)

Create Brixelizer instances for all loaded mesh geometry.


OnContentUnloaded

Copied!

virtual void OnContentUnloaded (cauldron::ContentBlock * pContentBlock)

Delete Brixelizer instances for all unloaded mesh geometry.