Struct CopyOperation

Inheritance Relationships

Base Type

Struct Documentation

struct CopyOperation : public gpa::serialization::Operation

Instructions for performing a memcpy from CPU to GPU data.

Public Functions

CopyOperation()
~CopyOperation() override
virtual char const *GetName() const override
virtual size_t Serialize(MemoryBackedSerializer*) const override
virtual size_t Deserialize(MemoryBackedSerializer*) override

Public Members

uint64_t key = {}

Key of the object that represents the api specific buffer which the data will be copied to.

uint64_t offset = {}

Offset into the resource data, zero-indexed from the start of the storage.