mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
adding buffer mapping
This commit is contained in:
@@ -19,9 +19,11 @@ typedef struct VulkanBuffer
|
||||
VkBuffer buffer;
|
||||
VkBufferUsageFlags usage;
|
||||
VmaAllocation allocation;
|
||||
VmaAllocationInfo allocation_info;
|
||||
} VulkanBuffer;
|
||||
|
||||
PulseBuffer VulkanCreateBuffer(PulseDevice device, const PulseBufferCreateInfo* create_infos);
|
||||
bool VulkanGetBufferMap(PulseBuffer buffer, void** data);
|
||||
void VulkanDestroyBuffer(PulseDevice device, PulseBuffer buffer);
|
||||
|
||||
#endif // PULSE_VULKAN_BUFFER_H_
|
||||
|
||||
Reference in New Issue
Block a user