Skip to content

FfxFrameInterpolationDispatchDescription

struct FfxFrameInterpolationDispatchDescription

Dependencies

This type depends on:

Public Interface

Public Members:

uint32_t flags

uint32_t flags

combination of FfxFrameInterpolationDispatchFlags

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 253, column 41)

FfxCommandList commandList

FfxCommandList commandList

The FfxCommandList to record frame interpolation commands into.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 254, column 41)

FfxDimensions2D displaySize

FfxDimensions2D displaySize

The destination output dimensions.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 255, column 41)

FfxDimensions2D renderSize

FfxDimensions2D renderSize

The dimensions used to render game content, dilatedDepth, dilatedMotionVectors are expected to be of ths size.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 256, column 41)

FfxResource currentBackBuffer

FfxResource currentBackBuffer

The current presentation color, if currentBackBuffer_HUDLess is not used, this will be used as interpolation source data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 257, column 41)

FfxResource currentBackBuffer_HUDLess

FfxResource currentBackBuffer_HUDLess

The current presentation color without HUD content, when use it will be used as interpolation source data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 258, column 41)

FfxResource output

FfxResource output

The output resource where to store the interpolated result.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 259, column 41)

FfxRect2D interpolationRect

FfxRect2D interpolationRect

The area of the backbuffer that should be used for interpolation in case only a part of the screen is used e.g. due to movie bars.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 261, column 41)

FfxResource opticalFlowVector

FfxResource opticalFlowVector

The optical flow motion vectors (see example computation in the FfxOpticalFlow effect)

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 263, column 41)

FfxResource opticalFlowSceneChangeDetection

FfxResource opticalFlowSceneChangeDetection

The optical flow scene change detection data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 264, column 41)

FfxDimensions2D opticalFlowBufferSize

FfxDimensions2D opticalFlowBufferSize

The optical flow motion vector resource dimensions.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 265, column 41)

FfxFloatCoords2D opticalFlowScale

FfxFloatCoords2D opticalFlowScale

The optical flow motion vector scale factor, used to scale resoure values into [0.0,1.0] range.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 266, column 41)

int opticalFlowBlockSize

int opticalFlowBlockSize

The optical flow block dimension size.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 267, column 41)

float cameraNear

float cameraNear

The distance to the near plane of the camera.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 269, column 41)

float cameraFar

float cameraFar

The distance to the far plane of the camera. This is used only used in case of non infinite depth.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 270, column 41)

float cameraFovAngleVertical

float cameraFovAngleVertical

The camera angle field of view in the vertical direction (expressed in radians).

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 271, column 41)

float viewSpaceToMetersFactor

float viewSpaceToMetersFactor

The unit to scale view space coordinates to meters.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 272, column 41)

float frameTimeDelta

float frameTimeDelta

The time elapsed since the last frame (expressed in milliseconds).

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 274, column 41)

bool reset

bool reset

A boolean value which when set to true, indicates the camera has moved discontinuously.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 275, column 41)

FfxBackbufferTransferFunction backBufferTransferFunction

FfxBackbufferTransferFunction backBufferTransferFunction

The transfer function use to convert interpolation source color data to linear RGB.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 277, column 41)

float minMaxLuminance

float minMaxLuminance

Min and max luminance values, used when converting HDR colors to linear RGB.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 278, column 41)

uint64_t frameID

uint64_t frameID

Identifier used to select internal resources when async support is enabled. Must increment by exactly one (1) for each frame. Any non-exactly-one difference will reset the frame generation logic.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 279, column 41)

FfxResource dilatedDepth

FfxResource dilatedDepth

The dilated depth buffer data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 281, column 41)

FfxResource dilatedMotionVectors

FfxResource dilatedMotionVectors

The dilated motion vector data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 282, column 41)

FfxResource reconstructedPrevDepth

FfxResource reconstructedPrevDepth

The reconstructed depth buffer data.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 283, column 41)

FfxResource distortionField

FfxResource distortionField

A resource containing distortion offset data used when distortion post effects are enabled.

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 285, column 41)

Source: sdk/include/FidelityFX/host/ffx_frameinterpolation.h (line 251, column 1)