Game Engine Programming 032.1 – DirectX (DXGI) Swap Chain | C++ Game Engine – GameDev.net

Please contact us if you have any trouble resetting your password.
Right now we’re in the middle of implementing a DirectX 12 renderer and so far we’ve created a d3d12 device, a command structure to submit work to GPU, and we spent the last episode writing a descriptor heap allocator which helps us to easily place descriptors in descriptor heaps. Now we’ve got enough tools and infrastructure to prepare and set up the render surface which is used to present the final rendered image on the screen. DirectX provides this functionality through an interface called a swap chain which can be roughly described as an array of render target textures that will be swapped with each frame. So, today we’re going to write a class that creates and manages the swap chain. 🟥(Red Episode)
✅ Support Game Engine Series https://patreon.com/gameengineseries
✅ Discord https://discord.gg/75ZmXwz
🐱 Mr. Frummel https://instagram.com/mr.frummel
Further reading:
The Care and Feeding of Modern Swap Chains Pt1: https://walbourn.github.io/care-and-feeding-of-modern-swapchains/
The Care and Feeding of Modern Swap Chains Pt2: https://walbourn.github.io/care-and-feeding-of-modern-swap-chains-2/
The Care and Feeding of Modern Swap Chains Pt3: https://walbourn.github.io/care-and-feeding-of-modern-swap-chains-3/
DXGI overview: https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/d3d10-graphics-programming-guide-dxgi
keywords: graphics rendering, direct3d 12, directx 12, dxgi, swap chain
by Arash Khatami
————————————————————-
#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries

source

Note that any programming tips and code writing requires some knowledge of computer programming. Please, be careful if you do not know what you are doing…

Post expires at 12:35pm on Wednesday April 26th, 2023

Leave a Reply

Next Post

Cryptocurrency Algorand Rises More Than 6% In 24 hours - Algorand (ALGO/USD) - Benzinga

Wed Oct 26 , 2022
Algorand's ALGO/USD price has increased 6.48% over the past 24 hours to $0.33, which is in the opposite direction of its trend over the past week, where it has experienced a 0.0% loss, moving from $0.32 to its current price. As it stands right now, the coin's all-time high is […]
%d bloggers like this: