Struct ResourceDataDescriptor

Struct Documentation

struct ResourceDataDescriptor

Holds information about resource data updates as well as how to locate the data payload.

Public Types

enum [anonymous]

Values:

enumerator kInvalidOffset

Public Members

uint64_t key

Unique key that represents the API buffer which the data will be copied to.

uint64_t secondaryKey

Unique key that represents the secondary object necessary for proper data update (i.e. deferred context key in DX11)

DataChangeDesc dataChangeDesc

Description about the resource update.

int64_t dataOffset = kInvalidOffset

Offset to the resource data from the start of the resource buffer.

uint32_t version

Version of the serializer used to write the corresponding data.