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

Method getEdge

Source/Falcor/Utils/Algorithm/DirectedGraph.h:183–191  ·  view source on GitHub ↗

* Get an edge */

Source from the content-addressed store, hash-verified

181 * Get an edge
182 */
183 const Edge* getEdge(uint32_t edgeId) const
184 {
185 if (doesEdgeExist(edgeId) == false)
186 {
187 logWarning("DirectGraph::getEdge() - edge ID doesn't exist");
188 return nullptr;
189 }
190 return &mEdges.at(edgeId);
191 }
192
193 uint32_t getCurrentNodeId() const { return mCurrentNodeId; }
194 uint32_t getCurrentEdgeId() const { return mCurrentEdgeId; }

Callers 2

traverseMethod · 0.45
sortInternalMethod · 0.45

Calls 1

logWarningFunction · 0.50

Tested by

no test coverage detected