FfxPresentCallbackDescription

A structure describing the parameters passed from the presentation thread to the ui composition callback function.

File location: sdk/include/FidelityFX/host/ffx_types.h

Detailed description

A structure describing the parameters passed from the presentation thread to the ui composition callback function.

Data fields

Type

Description

FfxDevice

device
The active device.

FfxCommandList

commandList
The command list on which to register render commands.

FfxResource

currentBackBuffer
The backbuffer resource with scene information.

FfxResource

currentUI
Optional UI texture (when doing backbuffer + ui blend)

FfxResource

outputSwapChainBuffer
The swapchain target into which to render ui composition.

bool

isInterpolatedFrame
Whether this is an interpolated or real frame.

bool

usePremulAlpha
Toggles whether UI gets premultiplied alpha blending or not.