MaskPreset

abstract class MaskPreset : Preset(source)

A mask: a function float mask(vec2 uv) from 0 to 1 of a texture coordinate. Unlike a ScalarPreset, which is read at the pixel itself, a mask is read at the coordinate it is given, so warps before it move it.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val contract: GlslContract

the signature of the dynamic parameter of this preset

Link copied to clipboard
abstract override val dynamicParameter: GlslFunction

Functions

Link copied to clipboard

true when this preset can read the values of fxContextLibrary, also through the presets in its slots, so that it changes over time even when nothing else does, see DynamicParameter.readsFxContext