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

Method EndFrame

SampleFramework12/v1.02/Graphics/SwapChain.cpp:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void SwapChain::EndFrame()
227{
228 // Indicate that the back buffer will now be used to present.
229 DX12::TransitionResource(DX12::CmdList, backBuffers[backBufferIdx].Texture.Resource, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_PRESENT);
230}
231
232}

Callers

nothing calls this directly

Calls 1

TransitionResourceFunction · 0.85

Tested by

no test coverage detected