MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Shutdown

Method Shutdown

SampleFramework12/v1.00/Graphics/SwapChain.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void 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
103void SwapChain::AfterReset()
104{

Callers

nothing calls this directly

Calls 2

ReleaseFunction · 0.85
FreeMethod · 0.80

Tested by

no test coverage detected