VFX-JS
    Preparing search index...

    Type Alias EffectRenderTarget

    A handle to an offscreen render target.

    ctx.createRenderTarget(...) returns EffectRenderTarget as
    the handle of the raw WebGL framebuffer.
    You can use it as a draw target (ctx.draw({ target: rt })) and
    as a sampler2D uniform to read it back in a later pass.

    width / height are physical pixels.

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

    Properties

    Properties

    width: number
    height: number
    __brand: "EffectRenderTarget"