CompositeGraph class final
Which passes of the chain are on, and what an edit to one of them reached.
Constructors
-
CompositeGraph({required Set<
CompositePass> enabled, Set<CompositePass> dirty = const <CompositePass>{}}) -
const
- CompositeGraph.of(RenderSettings settings)
-
The chain as
settingsdescribes it.factory
Properties
-
dirty
→ Set<
CompositePass> -
Which passes the last edit reached — empty for a graph nobody has
edited. See the library comment.
final
-
enabled
→ Set<
CompositePass> -
Which passes run. The two fixed ones are always in it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isOn(
CompositePass pass) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
settings(
RenderSettings from) → RenderSettings - This chain written back into settings.
-
toString(
) → String -
A string representation of this object.
override
-
touched(
CompositePass pass) → CompositeGraph -
This chain, unchanged, with
pass's own branch marked — what an edit to a pass's numbers leaves behind. -
withPass(
CompositePass pass, {required bool on}) → CompositeGraph -
This chain with
passswitched on or off, and the branch that changed marked.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
branchFrom(
CompositePass pass) → Set< CompositePass> -
passand every pass after it — what an edit to it reaches.