VFX-JS
    Preparing search index...

    Type Alias EffectTexture

    A handle to a GPU texture.

    Effect APIs (ctx.src, ctx.wrapTexture()) returns
    EffectTexture as the handle of raw WebGL texture.
    To use these textures, you need to pass this handle as uniform.

    width / height are physical pixels of the source's native size
    (0 for images / videos that haven't loaded yet).

    type EffectTexture = {
        width: number;
        height: number;
        __brand: "EffectTexture";
    }
    Index

    Properties

    Properties

    width: number
    height: number
    __brand: "EffectTexture"