Runtime ShaderCompilation with Include Features
This commit is contained in:
@@ -27,6 +27,10 @@ namespace OpenVulkano::Vulkan
|
||||
vk::MemoryPropertyFlags properties;
|
||||
void* mapped = nullptr;
|
||||
|
||||
ManagedBuffer(MemoryAllocation* alloc, vk::DeviceSize offset, vk::DeviceSize size, vk::Buffer buffer, vk::BufferUsageFlags usageFlags, vk::MemoryPropertyFlags memProperties)
|
||||
: allocation(alloc), offset(offset), size(size), buffer(buffer), usage(usageFlags), properties(memProperties), mapped(nullptr)
|
||||
{}
|
||||
|
||||
~ManagedBuffer()
|
||||
{
|
||||
allocation->device.destroy(buffer);
|
||||
|
||||
Reference in New Issue
Block a user