FfxFrameInterpolationDispatchDescription
File location: sdk/include/FidelityFX/host/ffx_frameinterpolation.h
Detailed description
Data fields
Type |
Description |
---|---|
uint32_t |
flags
combination of FfxFrameInterpolationDispatchFlags
|
commandList
The “FfxCommandList“ to record frame interpolation commands into.
|
|
displaySize
The destination output dimensions.
|
|
renderSize
The dimensions used to render game content, dilatedDepth, dilatedMotionVectors are expected to be of ths size.
|
|
currentBackBuffer
The current presentation color, if currentBackBuffer_HUDLess is not used, this will be used as interpolation source data.
|
|
currentBackBuffer_HUDLess
The current presentation color without HUD content, when use it will be used as interpolation source data.
|
|
output
The output resource where to store the interpolated result.
|
|
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.
|
|
opticalFlowVector
The optical flow motion vectors (see example computation in the FfxOpticalFlow effect)
|
|
opticalFlowSceneChangeDetection
The optical flow scene change detection data.
|
|
opticalFlowBufferSize
The optical flow motion vector resource dimensions.
|
|
opticalFlowScale
The optical flow motion vector scale factor, used to scale resoure values into [0.0,1.0] range.
|
|
int |
opticalFlowBlockSize
The optical flow block dimension size.
|
float |
cameraNear
The distance to the near plane of the camera.
|
float |
cameraFar
The distance to the far plane of the camera. This is used only used in case of non infinite depth.
|
float |
cameraFovAngleVertical
The camera angle field of view in the vertical direction (expressed in radians).
|
float |
viewSpaceToMetersFactor
The unit to scale view space coordinates to meters.
|
float |
frameTimeDelta
The time elapsed since the last frame (expressed in milliseconds).
|
bool |
reset
A boolean value which when set to true, indicates the camera has moved discontinuously.
|
FfxBackbufferTransferFunction |
backBufferTransferFunction
The transfer function use to convert interpolation source color data to linear RGB.
|
float |
minMaxLuminance
Min and max luminance values, used when converting HDR colors to linear RGB.
|
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.
|
dilatedDepth
The dilated depth buffer data.
|
|
dilatedMotionVectors
The dilated motion vector data.
|
|
reconstructedPrevDepth
The reconstructed depth buffer data.
|
|
distortionField
A resource containing distortion offset data used when distortion post effects are enabled.
|