diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-03-09 22:06:34 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-03-09 22:06:34 +0100 |
| commit | e4c24757a15a8a33019e4e2c28302b583b9366b7 (patch) | |
| tree | b5196dcd51428df4371cc612016a18127350e516 /include/vk-api.hpp | |
| parent | 14b00bdd8d0f3a6bdbc5623a964177cc6df2f4cc (diff) | |
Render ui on top of path tracer result
Diffstat (limited to 'include/vk-api.hpp')
| -rw-r--r-- | include/vk-api.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vk-api.hpp b/include/vk-api.hpp index 78d7068..284f75c 100644 --- a/include/vk-api.hpp +++ b/include/vk-api.hpp @@ -19,6 +19,7 @@ struct Pipeline { VkDescriptorSetLayout descriptor_set_layout; VkPipelineLayout layout; VkPipeline handle; + VkPipelineBindPoint bind_point; }; struct Image { @@ -76,7 +77,7 @@ class vkapi { void destroy_command_buffers(std::vector<VkCommandBuffer> &command_buffers); - VkRenderPass create_render_pass(std::vector<VkFormat>& color_attachments_format); + VkRenderPass create_render_pass(std::vector<VkFormat>& color_attachments_format, VkImageLayout initial_layout, VkImageLayout final_layout); VkRenderPass create_render_pass(std::vector<VkFormat>& color_attachments_format, VkFormat depth_attachement_format); void destroy_render_pass(VkRenderPass render_pass); |
