VFX-JS
    Preparing search index...

    Type Alias EffectRenderTargetOpts

    type EffectRenderTargetOpts = {
        size?: readonly [number, number];
        float?: boolean;
        persistent?: boolean;
        wrap?: EffectTextureWrap | readonly [EffectTextureWrap, EffectTextureWrap];
        filter?: EffectTextureFilter;
    }
    Index

    Properties

    size?: readonly [number, number]

    Size in physical pixels.
    If omitted, the target size will follow the source element size
    (element size * pixelRatio, auto-resized)

    float?: boolean

    Use 16F/32F render target. (Default: false)

    persistent?: boolean

    Whether the target content should persist across frames (Default: false).
    Useful for feedback effects like trails or motion blur.

    Default: "clamp". Tuple form specifies [wrapS, wrapT].

    Default: "linear".