pub type DestroyBackendContextFunc = Option<unsafe extern "C" fn(backendInterface: *mut Interface) -> ErrorCode>;
Expand description

Destroy the backend context and dereference the device.

This function is called when the FfxFsr2Context is destroyed.

@param [in] backendInterface A pointer to the backend interface.

@retval FFX_OK The operation completed successfully. @retval Anything else The operation failed.

@ingroup FSR2

Aliased Type§

enum DestroyBackendContextFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut Interface) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Interface) -> i32)

Some value of type T.