PresetFilter

interface PresetFilter(source)

A filter with preset slots: presets that vary what it does per pixel, like the radius of a blur. A graph or an EffectChain treats it as a pass of its own, or several, sets its slots, and sets the values of fxContextLibrary before applying it.

Inheritors

Properties

Link copied to clipboard
abstract val presetSlots: List<PresetSlot<*>>

the preset slots of the filter, in the order they are shown

Functions

Link copied to clipboard

true when a preset in one of the slots of this filter can read the values of fxContextLibrary

Link copied to clipboard
abstract fun setFxContext(time: Double, frame: Int, resolution: Vector2)

sets the values of fxContextLibrary for the next apply, see setFxContext