Struct ResourceTransferInfo::Region

Nested Relationships

This struct is a nested type of Class ResourceTransferInfo.

Nested Types

Struct Documentation

struct Region

The region of a resource that is affected by a resource transfer.

Public Members

struct gpa::playback::ResourceTransferInfo::Region::Info src
struct gpa::playback::ResourceTransferInfo::Region::Info dst
struct Info

Public Members

api_types::BufferRegion buffer = {}

The api_types::BufferRegion of this ResourceTransferInfo::Region.

Note

This field is only used if the associated ResourceInfo is a BufferInfo

api_types::TextureType textureType = {api_types::GPA_TEXTURE_TYPE_UNKNOWN}

The api_types::TextureType of this ResourceTransferInfo::Region.

Note

This field is only used if the associated ResourceInfo is a TextureInfo

api_types::TextureRegion texture = {}

The api_types::TextureRegion of this ResourceTransferInfo::Region.

Note

This field is only used if the associated ResourceInfo is a TextureInfo