ConstantScalar

class ConstantScalar(value: Double = 0.0) : ScalarPreset(source)

The same value for every pixel

Constructors

Link copied to clipboard
constructor(value: Double = 0.0)

Properties

Link copied to clipboard
open override val contract: GlslContract

the signature of the dynamic parameter of this preset

Link copied to clipboard
open override val dynamicParameter: GlslParameter
Link copied to clipboard

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