15#include <vsg/app/CommandGraph.h>
16#include <vsg/app/Window.h>
17#include <vsg/io/DatabasePager.h>
18#include <vsg/nodes/Group.h>
19#include <vsg/vk/CommandBuffer.h>
36 virtual bool containsDataToTransfer()
const;
39 Semaphores waitSemaphores;
40 Semaphores signalSemaphores;
46 void assign(
const BufferInfoList& bufferInfoList);
47 void assign(
const ImageInfoList& imageInfoList);
56 Logger::Level level = Logger::LOGGER_DEBUG;
59 using OffsetBufferInfoMap = std::map<VkDeviceSize, ref_ptr<BufferInfo>>;
60 using BufferMap = std::map<ref_ptr<Buffer>, OffsetBufferInfoMap>;
67 BufferMap _dynamicDataMap;
68 std::set<ref_ptr<ImageInfo>> _dynamicImageInfoSet;
70 size_t _currentFrameIndex;
71 std::vector<size_t> _indices;
78 void* buffer_data =
nullptr;
79 std::vector<VkBufferCopy> copyRegions;
82 std::vector<Frame> _frames;
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
Definition Device.h:37
ImageInfo class provides the VkDescriptorImageInfo settings used when setting up vsg::/vkDescriptorIm...
Definition ImageInfo.h:23
Definition TransferTask.h:29
ref_ptr< Instrumentation > instrumentation
hook for assigning Instrumentation to enable profiling of record traversal.
Definition TransferTask.h:53
virtual VkResult transferDynamicData()
transfer any vsg::Data entries that have been updated to the associated GPU memory.
void advance()
advance the currentFrameIndex
Definition ResourceRequirements.h:63
Definition TransferTask.h:74
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138