Skip to content

FfxFrameGenerationConfig

struct FfxFrameGenerationConfig

A structure representing the configuration options to pass to FrameInterpolationSwapChain.

Dependencies: FfxRect2D, FfxResource

Public Interface

Public Members:

FfxSwapchain swapChain

FfxSwapchain swapChain

The FfxSwapchain to use with frame interpolation.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 483, column 37)

FfxPresentCallbackFunc presentCallback

FfxPresentCallbackFunc presentCallback

A UI composition callback to call when finalizing the frame image.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 484, column 37)

void * presentCallbackContext

void * presentCallbackContext

A pointer to be passed to the UI composition callback.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 485, column 36)

FfxFrameGenerationDispatchFunc frameGenerationCallback

FfxFrameGenerationDispatchFunc frameGenerationCallback

The frame generation callback to use to generate the interpolated frame.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 486, column 37)

void * frameGenerationCallbackContext

void * frameGenerationCallbackContext

A pointer to be passed to the frame generation callback.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 487, column 36)

bool frameGenerationEnabled

bool frameGenerationEnabled

Sets the state of frame generation. Set to false to disable frame generation.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 488, column 37)

bool allowAsyncWorkloads

bool allowAsyncWorkloads

Sets the state of async workloads. Set to true to enable interpolation work on async compute.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 489, column 37)

bool allowAsyncPresent

bool allowAsyncPresent

Sets the state of async presentation (console only). Set to true to enable present from async command queue.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 490, column 37)

FfxResource HUDLessColor

FfxResource HUDLessColor

The hudless back buffer image to use for UI extraction from backbuffer resource.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 491, column 37)

FfxUInt32 flags

FfxUInt32 flags

Flags.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 492, column 37)

bool onlyPresentInterpolated

bool onlyPresentInterpolated

Set to true to only present interpolated frame.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 493, column 37)

FfxRect2D interpolationRect

FfxRect2D interpolationRect

Set the area in the backbuffer that will be interpolated.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 494, column 37)

uint64_t frameID

uint64_t frameID

A frame identifier used to synchronize resource usage in workloads.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 495, column 37)

bool drawDebugPacingLines

bool drawDebugPacingLines

Sets the state of pacing debug lines. Set to true to display debug lines.

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 496, column 37)

Used By: DX12FrameInterpolation, GDKFrameInterpolation

Source: sdk/include/FidelityFX/host/ffx_interface.h (line 481, column 1)