SwiftstructShaderGraph
DepthFirstSequence
struct ShaderGraph.DirectedGraph.DepthFirstSequence
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.IteratorProtocol
- protocolSwift.Sequence
Members 8
- field
var context: ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence.Context - field
let graph: ShaderGraph.DirectedGraph<A, B> - func
inboundEdgeIterator(for: Int) -> IndexingIterator<[Int]> - func
next() -> ShaderGraph.DirectedGraph<A, B>.Node? - init
init(graph: ShaderGraph.DirectedGraph<A, B>, startingWith: [ShaderGraph.DirectedGraph<A, B>.Node]) -> ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence - typealias
typealias Element = ShaderGraph.DirectedGraph<A, B>.Node - typealias
typealias Element = ShaderGraph.DirectedGraph<A, B>.Node - typealias
typealias Iterator = ShaderGraph.DirectedGraph<A, B>.DepthFirstSequence
Header
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? }