free the allocated memory
[demo] / src / vulkan / allocator.h
index ad4c87f..83ccee9 100644 (file)
@@ -12,4 +12,7 @@ struct DevMemBlock {
 bool vku_allocate(int size, DevMemBlock *block);
 void vku_free(VkDeviceMemory gpu_memory);
 
+bool vku_map_memory(VkDeviceMemory gpu_mem, int size, void *data);
+void vku_unmap_memory(VkDeviceMemory gpu_mem);
+
 #endif // ALLOCATOR_H_