VFX-JS
    Preparing search index...

    Class DatamoshEffect

    Pseudo-datamosh via a faked H.264 block codec. Passes the input
    through until enable(), then holds a motion-compensated accumulator
    so motion smears stale texture around. Mutate params directly or via
    setParams; toggle the mosh with enable() / disable().

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    Accessors

    • get enabled(): boolean

      Whether this effect renders. (Default: true)

      Set to false to skip this effect's render(): the chain passes
      its input straight through to the next stage (or to the canvas if
      it is the last stage), with no draw. Re-checked every frame, so it
      is a cheap runtime toggle — the effect stays attached and keeps its
      buffers, paying no re-init cost.

      init and update still run while disabled, so stateful effects
      stay warm and re-enable seamlessly. Omitting the field (or
      undefined) means enabled.

      Returns boolean

    Methods