StackSplit¶
Namespace Nfty.Core.Imaging in assembly Nfty.Core.
A recipe's reference layers split around the one being edited: what paints under it, and what paints over it.
The split is the whole point of the feature — sunglasses sit above a face and below a hat, so a single flat underlay would show neither correctly. It is also the shape the caching wants: the two stacks are composited once each and reused across every brush stroke, invalidated only when the reference selection changes.
Constructors¶
StackSplit(IReadOnlyList<string>, IReadOnlyList<string>)¶
Parameters
Below(IReadOnlyList<string>) - Enabled layers painting beneath the edited one, bottom-to-top — ready to hand straight toStackPreview.Render().Above(IReadOnlyList<string>) - Enabled layers painting over the edited one, bottom-to-top, likewise.
Properties¶
Above¶
Enabled layers painting over the edited one, bottom-to-top, likewise.
Below¶
Enabled layers painting beneath the edited one, bottom-to-top — ready to hand straight to StackPreview.Render().