writing mesh data to GPU
[demo] / src / vulkan / allocator.h
index ad4c87f..4f4fd53 100644 (file)
@@ -12,4 +12,6 @@ struct DevMemBlock {
 bool vku_allocate(int size, DevMemBlock *block);
 void vku_free(VkDeviceMemory gpu_memory);
 
+bool vku_write_memory(VkDeviceMemory gpu_mem, int size, void *data);
+
 #endif // ALLOCATOR_H_