SamplerPreset

abstract class SamplerPreset : Preset(source)

A sampler: a function vec4 sample(sampler2D image, vec2 uv) that reads an image at and around a texture coordinate. In an EffectChain a sampler reads the image as it is after the stages before it, which takes a pass of its own.

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