FfxInternalResourceDescription

An internal structure housing all that is needed for backend resource descriptions.

File location: sdk/include/FidelityFX/host/ffx_types.h

Detailed description

An internal structure housing all that is needed for backend resource descriptions.

Data fields

Type

Description

uint32_t

id
Resource identifier.

const wchar_t*

name
Name to set to the resource for easier debugging.

FfxResourceType

type
The type of resource (see “FfxResourceType“)

FfxResourceUsage

usage
Resource usage flags (see “FfxResourceUsage“)

FfxSurfaceFormat

format
The resource format to use.

uint32_t

width
The width (textures) or size (buffers) of the resource.

uint32_t

height
The height (textures) or stride (buffers) of the resource.

uint32_t

mipCount
Mip count (textures) of the resource.

FfxResourceFlags

flags
Resource flags (see “FfxResourceFlags“)

FfxResourceInitData

initData
Resource initialization definition (see “FfxResourceInitData“)