aboutsummaryrefslogtreecommitdiffstats
path: root/include/vk-api.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2022-02-07 21:53:14 +0100
committerladevieq <ladevie.quentin@gmail.com>2022-02-07 21:53:14 +0100
commit4ae9a520d97dcaf69f4a0cd044a4fc3fe689924d (patch)
treeb2bdcef4ff0bda3dca80b11da42c597ccc596a0b /include/vk-api.hpp
parentab39ab82b4dc60e4a181140dc91ee046e5daa6ea (diff)
Compute shader render pass api
Diffstat (limited to 'include/vk-api.hpp')
-rw-r--r--include/vk-api.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vk-api.hpp b/include/vk-api.hpp
index 864632e..9cc7707 100644
--- a/include/vk-api.hpp
+++ b/include/vk-api.hpp
@@ -3,6 +3,7 @@
#include <vector>
#include <map>
+#include <iostream>
#include "vk-context.hpp"
@@ -152,6 +153,7 @@ class vkapi {
swapchain create_swapchain(VkSurfaceKHR surface, size_t min_image_count, VkImageUsageFlags usages, VkSwapchainKHR old_swapchain);
void destroy_swapchain(swapchain& swapchain);
+ void update_descriptor_image(image &img, VkDescriptorType type);
void update_descriptor_images(std::vector<image> &images, VkDescriptorType type);
void update_descriptor_samplers(std::vector<sampler> &samplers);