Question for Vulkan development. When creating a vkframebuffer, I don’t have the renderpass I will want to use with this framebuffer ready yet. I also may want to use several renderpasses with this FBO. What strategies are employed to deal with this?
Second idea is to wait till I have a full frame of commands to draw. Hold on to a VkFrameBufferCreateInfo that only has the renderpass unset. Find any renderpass-FBO pairs in the commands and create the VkFrameBuffer (with caching, of course).