[Feature Request]: Allow for pNext chain on vkb::Swapchain::get_image_views
nickclark2016 opened this issue · comments
I'd like to be able to apply a pNext chain to the VkImageViewCreateInfo
inside of vkb::Swapchain::get_image_views
function.
Use Case:
I'm working on an renderer where I use imageless framebuffers for the final resolution to the swapchain. When I create a VkFramebufferAttachmentImageInfo
for the swapchain attachment, I need to be able to specify the usage based on the visible usage of the underlying image. By providing VkImageViewCreateInfo
to the VkImageViewCreateInfo#pNext
chain, I am able to restrict the usage to exactly what I need.
Work Around:
Instead of relying on the helper method to create the image views, I could use the vkb::Swapchain::get_images
function and create the image views myself.
Suggested API:
vkb::Swapchain::get_image_views();
vkb::Swapchain::get_image_views(const void* pNext);