class Buffer;
class Device;
+class VulkanCommandRecorder;
class TransferQueue
{
std::size_t size = 0;
void *staging_address = 0;
std::function<void()> synchronize;
- std::function<void(VkCommandBuffer, VkBuffer, std::size_t)> transfer;
+ std::function<void(const VulkanCommandRecorder &, VkBuffer, std::size_t)> transfer;
};
Device &device;
PendingTransfer &insert_transfer(PendingTransfer &&);
public:
- void dispatch_transfers(VkCommandBuffer);
+ void dispatch_transfers(const VulkanCommandRecorder &);
};
template<typename S, typename T>