FfxFrameGenerationConfig
A structure representing the configuration options to pass to FfxFrameInterpolation.
File location: sdk/include/FidelityFX/host/ffx_interface.h
Detailed description
A structure representing the configuration options to pass to FfxFrameInterpolation.
Data fields
Type |
Description |
---|---|
FfxSwapchain |
swapChain
The “FfxSwapchain“ to use with frame interpolation.
|
FfxPresentCallbackFunc |
presentCallback
A UI composition callback to call when finalizing the frame image.
|
void* |
presentCallbackContext
A pointer to be passed to the UI composition callback.
|
FfxFrameGenerationDispatchFunc |
frameGenerationCallback
The frame generation callback to use to generate the interpolated frame.
|
void* |
frameGenerationCallbackContext
A pointer to be passed to the frame generation callback.
|
bool |
frameGenerationEnabled
Sets the state of frame generation. Set to false to disable frame generation.
|
bool |
allowAsyncWorkloads
Sets the state of async workloads. Set to true to enable interpolation work on async compute.
|
bool |
allowAsyncPresent
Sets the state of async presentation (console only). Set to true to enable present from async command queue.
|
HUDLessColor
The hudless back buffer image to use for UI extraction from backbuffer resource.
|
|
flags
Flags.
|
|
bool |
onlyPresentInterpolated
Set to true to only present interpolated frame.
|
interpolationRect
Set the area in the backbuffer that will be interpolated.
|
|
uint64_t |
frameID
A frame identifier used to synchronize resource usage in workloads.
|