| 58 | } // Anonymous namespace |
| 59 | |
| 60 | IntroPathTracer::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 | |
| 72 | void IntroPathTracer::SampleRenderCode(nvrhi::IFramebuffer* framebuffer, nvrhi::CommandListHandle commandList, const SampleConstants& constants) |
| 73 | { |
nothing calls this directly
no outgoing calls
no test coverage detected