FfxResourceDescription

A structure describing a resource.

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

Detailed description

A structure describing a resource.

Data fields

Type

Description

FfxResourceType

type
The type of the resource.

FfxSurfaceFormat

format
The surface format.

uint32_t

width
The width of the texture resource.

uint32_t

size
The size of the buffer resource.

uint32_t

height
The height of the texture resource.

uint32_t

stride
The stride of the buffer resource.

uint32_t

depth
The depth of the texture resource.

uint32_t

alignment
The alignment of the buffer resource.

uint32_t

mipCount
Number of mips (or 0 for full mipchain).

FfxResourceFlags

flags
A set of “FfxResourceFlags“ flags.

FfxResourceUsage

usage
Resource usage flags.