SourceData

SourceData for CopyResource.

File location: framework/cauldron/framework/inc/render/copyresource.h

Enumerations

Name

Description

Type

Type of SourceData.
INVALID = -1 – Invalid type.
BUFFER = 0 – Indicates the source data is a buffer.
VALUE – Indicates the source data is a value.

Detailed description

SourceData for CopyResource.

Data fields

Type

Description

Type

type
type of SourceData.

size_t

size
size of SourceData.

void*

buffer
Used when type is BUFFER.

unsigned char

value
Used when type is VALUE.