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

Method EndFrame

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

Source from the content-addressed store, hash-verified

211}
212
213void SwapChain::EndFrame()
214{
215 // Indicate that the back buffer will now be used to present.
216 DX12::TransitionResource(DX12::CmdList, backBuffers[backBufferIdx].Texture.Resource, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_PRESENT);
217}
218
219}

Callers

nothing calls this directly

Calls 1

TransitionResourceFunction · 0.85

Tested by

no test coverage detected