My first thought is to create a dummy renderpass that merely represents compatible renderpasses. Use that to create the FBO and use real renderpasses for actual use.
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?
-
-
Näytä tämä ketju
-
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).
Näytä tämä ketju
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.