SwiftstructShaderGraph

struct ShaderGraph.DirectedGraph.DepthFirstSequence

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldvar context: ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence.Context
  2. fieldlet graph: ShaderGraph.DirectedGraph<A, B>
  3. funcinboundEdgeIterator(for: Int) -> IndexingIterator<[Int]>
  4. funcnext() -> ShaderGraph.DirectedGraph<A, B>.Node?
  5. initinit(graph: ShaderGraph.DirectedGraph<A, B>, startingWith: [ShaderGraph.DirectedGraph<A, B>.Node]) -> ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence
  6. typealiastypealias Element = ShaderGraph.DirectedGraph<A, B>.Node
  7. typealiastypealias Element = ShaderGraph.DirectedGraph<A, B>.Node
  8. typealiastypealias Iterator = ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence
struct ShaderGraph.DirectedGraph.DepthFirstSequence {
    struct Context {
        var stack: [Swift.Int]
        var discovered: CollectionsInternal.OrderedSet<Swift.Int>
        var inputMap: CollectionsInternal.OrderedDictionary<Swift.Int, Swift.IndexingIterator<[Swift.Int]>>

        init(stack: [Swift.Int], discovered: CollectionsInternal.OrderedSet<Swift.Int>, inputMap: CollectionsInternal.OrderedDictionary<Swift.Int, Swift.IndexingIterator<[Swift.Int]>>)
    }
    var context: ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence.Context
    let graph: ShaderGraph.DirectedGraph<A, B>

    init(graph: ShaderGraph.DirectedGraph<A, B>, startingWith: [ShaderGraph.DirectedGraph<A, B>.Node])

    func inboundEdgeIterator(for: Swift.Int) -> Swift.IndexingIterator<[Swift.Int]>
    func next() -> ShaderGraph.DirectedGraph<A, B>.Node?
}