MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / CopyDepthForNextFrame

Method CopyDepthForNextFrame

Rtxpt/IntroSample.cpp:430–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430void IntroPathTracer::CopyDepthForNextFrame(nvrhi::CommandListHandle commandList)
431{
432 if (!m_prevDepth || !m_renderTargets->Depth)
433 return;
434
435 ScopedPerfMarker perfMarker("Depth Copy", commandList);
436 commandList->copyTexture(m_prevDepth, nvrhi::TextureSlice(), m_renderTargets->Depth, nvrhi::TextureSlice());
437}
438
439void IntroPathTracer::PopulateGBuffer(nvrhi::CommandListHandle commandList)
440{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected