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

Method Update

Rtxpt/OpacityMicroMap/OmmBuildQueue.cpp:536–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536void OmmBuildQueue::Update(nvrhi::ICommandList& commandList)
537{
538 if (ReadyToRecordWork() && !m_pending.empty())
539 {
540 // Work backwards from the final state to avoid consuming consecutive states of the same task in a single frame.
541 ConsumeOneTask(commandList, BuildState::BakeAndBuild);
542 ConsumeOneTask(commandList, BuildState::Setup);
543 ConsumeOneTask(commandList, BuildState::None);
544
545 SubmitAndSubscribeQuery(commandList);
546 }
547}
548
549void OmmBuildQueue::QueueBuild(const BuildInput& input)
550{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected