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

Method IntroPathTracer

Rtxpt/IntroSample.cpp:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58} // Anonymous namespace
59
60IntroPathTracer::IntroPathTracer(donut::app::DeviceManager& deviceManager,
61 const CommandLineOptions& cmdLine)
62 : Sample(deviceManager, cmdLine)
63{
64 m_ui.RealtimeAA = 0; // No TAA or DLSS by default
65 m_ui.EnableBloom = false;
66 m_ui.RenderWhenOutOfFocus = true;
67
68 m_depthHierarchyRenderer = std::make_unique<DepthHierarchyRenderer>(GetDevice());
69 m_gtaoRenderer = std::make_unique<GTAORenderer>(GetDevice());
70}
71
72void IntroPathTracer::SampleRenderCode(nvrhi::IFramebuffer* framebuffer, nvrhi::CommandListHandle commandList, const SampleConstants& constants)
73{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected