vulkan: implement storage and texel buffers

This commit is contained in:
niki
2022-09-16 00:30:26 +02:00
parent f4c38eb00a
commit ccf8cb45c9
4 changed files with 112 additions and 77 deletions
+1
View File
@@ -36,6 +36,7 @@ public:
private:
// todo use a staging buffer for improved performance
VkBuffer buffer = VK_NULL_HANDLE;
VkBufferView bufferView = VK_NULL_HANDLE;
Graphics *vgfx = nullptr;
VmaAllocator allocator;
VmaAllocation allocation;