15 #include <vsg/state/ImageInfo.h>
16 #include <vsg/vk/MemoryBufferPools.h>
18 #include <vsg/commands/Command.h>
37 uint32_t mipLevels = 1;
43 Data::MipmapOffsets mipmapOffsets;
66 mutable std::mutex _mutex;
67 mutable std::vector<CopyData> _pending;
68 mutable std::vector<CopyData> _completed;
69 mutable std::vector<CopyData> _readyToClear;
CommandBuffer encapsulates VkCommandBuffer.
Definition: CommandBuffer.h:27
Deprecated - use vsg::Data dataVariance and Data::dirty() to signal vsg::TransferTask to transfer dat...
Definition: CopyAndReleaseImage.h:25
ref_ptr< MemoryBufferPools > stagingMemoryBufferPools
MemoryBufferPools used for allocation of staging buffer used by the copy(ref_ptr<Data>,...
Definition: CopyAndReleaseImage.h:53
void copy(ref_ptr< Data > data, ref_ptr< ImageInfo > dest)
copy data into a staging buffer and then use copy command to transfer this to the GPU image specified...
Definition: CopyAndReleaseImage.h:30