EffectStage

sealed interface EffectStage(source)

A stage of an EffectChain

Inheritors

Types

Link copied to clipboard
class Blend(val blend: BlendPreset, val layer: BlendLayer) : EffectStage

combines the image, the base, with the color of layer at the same coordinate by blend, like a color stage: blend(base, layer)

Link copied to clipboard
class Color(val color: ColorPreset) : EffectStage

maps every color with color

Link copied to clipboard
class Filter(val filter: Filter1to1) : EffectStage

applies filter, which can read its input anywhere, such as a blur

Link copied to clipboard
class Sample(val sampler: SamplerPreset) : EffectStage

reads the image with sampler, which can read around the coordinate, it starts a pass

Link copied to clipboard
class Source(val source: SourcePreset) : EffectStage

replaces the image by the colors that source generates

Link copied to clipboard
class Warp(val warp: WarpPreset) : EffectStage

reads its input at the coordinates warp maps the output coordinates to