Class TextureCopy

Inheritance Relationships

Base Type

Class Documentation

class TextureCopy : public gpa::resource_utilities::d3d12::ResourceCopy

Public Functions

TextureCopy(gpgmm::d3d12::IResourceAllocator *allocator, ID3D12Resource *resource, ID3D12GraphicsCommandList *commandList, D3D12_RESOURCE_STATES state)
uint32_t GetSubresourceIndex(uint32_t planeIndex, uint32_t arrayIndex, uint32_t mipIndex) const
size_t GetSubresourceSize(uint32_t subresourceIndex) const
SubresourceInfo GetSubresourceData(uint32_t subresourceIndex, uint8_t *const data, size_t size) const
~TextureCopy() override