Function addNode

Synopsis

#include <Source/Falcor/Utils/Algorithm/DirectedGraph.h>

uint32_t addNode()

Description

Add a node. The returned value is a unique identifier of the node

Source

Lines 53-57 in Source/Falcor/Utils/Algorithm/DirectedGraph.h.

uint32_t addNode()
{
    mNodes[mCurrentNodeId] = Node();
    return mCurrentNodeId++;
}





Add Discussion as Guest

Log in