Skip to content

FfxOpticalflowContext

struct FfxOpticalflowContext

A structure encapsulating the FidelityFX OpticalFlow context.

This sets up an object which contains all persistent internal data and resources that are required by OpticalFlow.

The FfxOpticalflowContext object should have a lifetime matching your use of OpticalFlow. Before destroying the OpticalFlow context care should be taken to ensure the GPU is not accessing the resources created or used by OpticalFlow. It is therefore recommended that the GPU is idle before destroying OpticalFlow OpticalFlow context.

Public Interface

Public Members:

uint32_t data

uint32_t data

An opaque set of uint32_t which contain the data for the context.

Source: sdk/include/FidelityFX/host/ffx_opticalflow.h (line 134, column 14)

Source: sdk/include/FidelityFX/host/ffx_opticalflow.h (line 132, column 1)