GetResourceDescriptionFunc

Type Alias GetResourceDescriptionFunc 

Source
pub type GetResourceDescriptionFunc = Option<unsafe extern "C" fn(backendInterface: *mut Interface, resource: ResourceInternal) -> ResourceDescription>;
Expand description

Retrieve a FfxResourceDescription matching a FfxResource structure.

@param [in] backendInterface A pointer to the backend interface. @param [in] resource A pointer to a FfxResource object.

@returns A description of the resource.

@ingroup FSR2

Aliased Type§

pub enum GetResourceDescriptionFunc {
    None,
    Some(unsafe extern "C" fn(*mut Interface, ResourceInternal) -> ResourceDescription),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Interface, ResourceInternal) -> ResourceDescription)

Some value of type T.