Swap Chain Recreation & Dynamic Viewports - Vulkan Game Engine Tutorial 08
We set up a callback function that listens to changes on the glfw window and updates the dimensions of the window wrapper class. When the window is resized we must create a new compatible swap chain. We change to using a dynamic viewport and scissor so that graphics pipeline creation is no longer dependent on the swap chains dimensions. ** Nitpicks ** 0:24 - "All of these objects have a fixed size equal to the size of the window", this isn't exactly true as there are some exceptions. ** Timecodes ** 0:00 - intro 1:13 - Fixing incorrect copy constructors 1:35 - Window Resize callback 3:51 - Update application header 4:38 - Record command buffers implementation 5:19 - Recreate swapchain implementation 6:43 - Updating drawFrame() 7:52 - Smoother Resizing? 8:35 - Dynamic viewport & scissor 12:24 - Render pass compatibility 13:28 - Providing old swap chain 15:52 - Free command buffers 17:06 - Video Summary ** View File Changes ** https://github.com/blurrypiano/littleVulkanEngine/commit/ac911abade3f0747c31b5cf3d21c59c7c077d6f4 ** View playlist ** https://www.youtube.com/watch?v=Y9U9IE0gVHA&list=PL8327DO66nu9qYVKLDmdLW_84-yE4auCR&ab_channel=BrendanGalea ** Tutorial Series introduction video ** https://youtu.be/Y9U9IE0gVHA ** Smart pointers ** https://www.learncpp.com/cpp-tutorial/intro-to-smart-pointers-move-semantics/#:~:text=A%20Smart%20pointer%20is%20a,t%20clean%20up%20after%20themselves ** Renderpass Compatibility ** https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/chap8.html#renderpass-compatibility ** Some other resources ** My github for this series - https://github.com/blurrypiano/littleVulkanEngine Official vulkan samples - https://github.com/KhronosGroup/Vulkan-Samples “Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.”
Download
0 formatsNo download links available.