Skip to content

MoonLiveEffect

Source: MoonLiveEffect.h

MoonLiveEffect

class MoonLiveEffect
src/light/moonlive/MoonLiveEffect.h:21

Inherits: EffectBase

Effect whose render is a live-authored MoonLive script.

Public Methods

virtual inline constchar * tags() const override : Curated emoji tags for the module picker's chip filter — extras beyond the role chip (which the UI derives from role() on its own).

virtual inline Dim dimensions() const override : Which axes the effect iterates — a claim, not a guarantee about the layer.

virtual inline void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

virtual inline bool affectsPrepare(constchar *) const override : Whether a value change to one of this module's controls triggers the pipeline-wide [prepare()] sweep.

virtual inline void prepare() override : Tier-3 of the control-change split (see onControlChanged above): the module (re)allocates / recomputes whatever derived state it owns — an effect's heap, a Layer's mapping LUT, the Drivers output buffer.

virtual inline void tick() override

virtual inline void release() override