GraphiteEditor / GraphiteEditor/Graphite

Retrieving all Context components from outer nested iteration scopes

Offen
#3,359 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @TrueDoctor Auf GitHub ansehen
Graphene Performance
Vorherrschende Sprache
Rust
Sterne
27.2k
Forks
1.3k
Ø Merge
20 Std. 5 Min.
Gemergte PRs (30 T.)
57

Beschreibung

The *Instance Index* node has a *Loop Level* parameter that lets you access the outer scopes of multiple levels of nested iteration. This is akin to `i`, `j`, and `k` index variables commonly used in nested `for` loops in programming.

Today, I ran into the need to access an outer nested iteration scope with the *Instance Position* node as well. More generally, it needs to be possible to access any component of the `Context` (`OwnedContextImpl`) by iterating from inwards to outwards and accessing the outer levels. This likely needs to involve @TrueDoctor deciding on some architectural decisions for Graphene to make this possible.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.