MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / copyAccelerationStructure

Method copyAccelerationStructure

Source/Falcor/Core/API/RenderContext.cpp:636–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636void RenderContext::copyAccelerationStructure(
637 RtAccelerationStructure* dest,
638 RtAccelerationStructure* source,
639 RenderContext::RtAccelerationStructureCopyMode mode
640)
641{
642 auto rtEncoder = getLowLevelData()->getRayTracingCommandEncoder();
643 rtEncoder->copyAccelerationStructure(
644 dest->getGfxAccelerationStructure(), source->getGfxAccelerationStructure(), getGFXAcclerationStructureCopyMode(mode)
645 );
646 mCommandsPending = true;
647}
648
649gfx::IRenderCommandEncoder* RenderContext::drawCallCommon(GraphicsState* pState, ProgramVars* pVars)
650{

Callers 1

buildBlasMethod · 0.80

Calls 3

getLowLevelDataFunction · 0.85

Tested by

no test coverage detected