53 this->loadVkBuffer(data.buffer(), data.bufferSize());
64 VkBuffer buffer = VK_NULL_HANDLE;
65 VkDeviceMemory memory = VK_NULL_HANDLE;
66 int srcBufferSize = -1;
67 int allocatedSize = -1;
69 HANDLE handle =
nullptr;
74 VkCommandBuffer copyCmd = VK_NULL_HANDLE;
76 unsigned int memoryObject = 0;
77 unsigned int tempBuffer = 0xffffffff;
80 void loadVkBuffer(VkBuffer src,
int size);
81 void allocateVkBuffer(
int size);
88 cudaGraphicsResource* resource = 0;