MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / _GetInputRequest

Method _GetInputRequest

pxr/exec/vdf/speculationNode.cpp:170–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170VdfRequest
171VdfSpeculationNode::_GetInputRequest(const VdfSchedule &requestingSched) const
172{
173 VdfMaskedOutputVector maskedOutputs;
174
175 // Build a request that pulls on all our inputs.
176 VDF_FOR_EACH_SCHEDULED_OUTPUT_ID(outputId, requestingSched, *this) {
177 const VdfOutput *output = requestingSched.GetOutput(outputId);
178 if (VdfMaskedOutput mo = _GetSourceOutput(*this, output->GetName())) {
179 maskedOutputs.push_back(std::move(mo));
180 }
181 }
182
183 return VdfRequest(std::move(maskedOutputs));
184}
185
186const VdfSchedule *
187VdfSpeculationNode::_GetSchedule(const VdfRequest &request) const

Callers

nothing calls this directly

Calls 6

_GetSourceOutputFunction · 0.85
push_backMethod · 0.80
VdfRequestClass · 0.70
GetOutputMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected