rullino
    Preparing search index...

    Interface TexturePassDef

    One compute pass of a multipass filter. wgsl defines fn run(xy: vec2i, p: Params) -> vec4f returning the output pixel at xy. In scope: load_<input>(xy: vec2i) -> vec4f for each name in inputs (clamped to the edge), size() -> vec2i, the generated Params and the rl_* library.

    interface TexturePassDef {
        buffers?: readonly string[];
        inputs: readonly string[];
        kind?: "texture";
        name: string;
        repeat?: string;
        wgsl: string;
    }
    Index
    buffers?: readonly string[]

    Filter buffers this pass can access as buf_<name> (array<atomic, N>).

    inputs: readonly string[]

    'input' (the filter's input) and/or names of earlier texture passes.

    kind?: "texture"
    name: string

    WGSL identifier; later passes read this pass's output as load_<name>.

    repeat?: string

    Name of an int param: run the pass that many times, ping-ponging. From the second iteration on, inputs[0] reads the previous iteration's output. Zero iterations pass inputs[0] through.

    wgsl: string