ColorPreset

abstract class ColorPreset : Preset(source)

A color operation: a function vec4 color(vec4 c, vec2 uv) that maps the color c at texture coordinate uv to a new color. The operations below change the rgb channels as they are stored and keep alpha.

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