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

Method SampleRenderCode

Rtxpt/AdvancedSample.cpp:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 using Sample::Sample;
24
25 virtual void SampleRenderCode(nvrhi::IFramebuffer* framebuffer, nvrhi::CommandListHandle commandList, const SampleConstants& constants) override
26 {
27 if (m_ui.ActualUseRTXDIPasses())
28 m_rtxdiPass->BeginFrame(commandList, *m_renderTargets, m_bindingLayout, m_bindingSet);
29
30 PathTrace(framebuffer, constants);
31
32 Denoise(framebuffer);
33 }
34
35 virtual void CreateRTPipelines() override
36 {

Callers

nothing calls this directly

Calls 2

ActualUseRTXDIPassesMethod · 0.80
BeginFrameMethod · 0.45

Tested by

no test coverage detected