| 89 | } |
| 90 | |
| 91 | void SwapChain::Shutdown() |
| 92 | { |
| 93 | for(uint64 i = 0; i < NumBackBuffers; ++i) |
| 94 | { |
| 95 | DX12::Release(backBuffers[i].Texture.Resource); |
| 96 | DX12::RTVDescriptorHeap.Free(backBuffers[i].RTV); |
| 97 | } |
| 98 | |
| 99 | DX12::Release(swapChain); |
| 100 | DX12::Release(output); |
| 101 | } |
| 102 | |
| 103 | void SwapChain::AfterReset() |
| 104 | { |