class BreadcrumbsRenderModule

BreadcrumbsRenderModule handles a number of tasks related to the AMD FidelityFX Breadcrumbs Library.

File location: samples/breadcrumbs/breadcrumbsrendermodule.h

Construction

Return type

Description

Constructor with default behavior.

Methods

Return type

Description

void

Init (const json& initData)
Initialize the FFX API Context.

void

Execute (double deltaTime, cauldron::CommandList * pCmdList)
Render a simple triangle and crash in selected frame.

Detailed description

BreadcrumbsRenderModule handles a number of tasks related to the AMD FidelityFX Breadcrumbs Library.

BreadcrumbsRenderModule takes care of:

  • creating UI section that enable users to switch between BLUR effect options: kernel size & floating point math type.

  • executes multiple different blur effects, including but not limited to FFX Blur.

  • implements a comparison mode for comparing quality and performance of FFX Blur to conventional blur implementations. Comparison mode displays the difference between two different blur effects (see blur_compare_filters_cs.hlsl). The magnitude of the difference can be amplified via UI configurable “Diff Factor”.

Construction


Methods

Init

Copied!

virtual void Init (const json& initData)

Initialize the FFX API Context.


Execute

Copied!

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

Render a simple triangle and crash in selected frame.