Optional ReadonlybuffersFilter buffers this pass can access as buf_<name> (array<atomic
Readonlyinputs'input' (the filter's input) and/or names of earlier texture passes.
Optional ReadonlykindReadonlynameWGSL identifier; later passes read this pass's output as load_<name>.
Optional ReadonlyrepeatName 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.
Readonlywgsl
One compute pass of a multipass filter.
wgsldefinesfn run(xy: vec2i, p: Params) -> vec4freturning the output pixel atxy. In scope:load_<input>(xy: vec2i) -> vec4ffor each name ininputs(clamped to the edge),size() -> vec2i, the generatedParamsand the rl_* library.