SourcePreset

abstract class SourcePreset : Preset(source)

A source: a function vec4 source(vec2 uv) that generates the color at texture coordinate uv. In an EffectChain a source replaces the image, in a Layer it is blended over the image.

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