FfxResourceInitData

An structure housing all that is needed for resource initialization.

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

Methods

Return type

Description

static FfxResourceInitData

FfxResourceInitValue (size_t dataSize, uint8_t initVal)

static FfxResourceInitData

FfxResourceInitBuffer (size_t dataSize, void* pInitData)

Detailed description

An structure housing all that is needed for resource initialization.

Data fields

Type

Description

FfxResourceInitDataType

type
Indicates that the resource will be initialized from a buffer or a value, or stay uninitialized.

size_t

size
The size, in bytes, of the resource that needed be initialized.

void*

buffer
The buffer used to initialize the resource.

unsigned char

value
Indicates that the resource will be filled up with this value.