Add ImGui
- Initial ImGui commit, add support for showing demo window in Copium Engine
This commit is contained in:
@@ -47,4 +47,9 @@ namespace Copium
|
||||
{
|
||||
vkFreeDescriptorSets(Vulkan::GetDevice(), descriptorPool, descriptorSets.size(), descriptorSets.data());
|
||||
}
|
||||
|
||||
DescriptorPool::operator VkDescriptorPool() const
|
||||
{
|
||||
return descriptorPool;
|
||||
}
|
||||
}
|
||||
@@ -18,5 +18,7 @@ namespace Copium
|
||||
|
||||
std::vector<VkDescriptorSet> AllocateDescriptorSets(VkDescriptorSetLayout descriptorSetLayout);
|
||||
void FreeDescriptorSets(const std::vector<VkDescriptorSet>& descriptorSets);
|
||||
|
||||
operator VkDescriptorPool() const;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user