VFX-JS
    Preparing search index...

    Type Alias EffectDrawOpts

    type EffectDrawOpts = {
        frag: string;
        vert?: string;
        geometry?: EffectQuad | EffectGeometry;
        uniforms?: EffectUniforms;
        target?: EffectRenderTarget | null;
        blend?: EffectBlendMode;
    }
    Index

    Properties

    frag: string
    vert?: string

    Default: ctx.quad.

    uniforms?: EffectUniforms
    target?: EffectRenderTarget | null

    Render target of the effect.
    It renders to the Canvas if omitted (or null).

    Blend mode override. Default: "premultiplied" when drawing to
    the canvas (target null/omitted), "none" when drawing to a
    user-allocated render target. Use "additive" for accumulating
    draws like sparkles or particle stamps.