OptionalblendOptionalgeometryDefault: ctx.quad.
OptionalswapWhether to advance the persistent RT's read/write buffers after
this draw. Default: true.
Set to false when you need to write to the same physical buffer
across multiple draws in one frame — e.g. a full-screen pass that
fills every texel followed by a sparse pass that surgically
overwrites a few. Without swap: false, the second draw would
land in the other (stale) buffer of the ping-pong pair and the
first draw's output would be lost.
No-op for non-persistent RTs and for canvas writes.
OptionaltargetRender target of the effect.
It renders to the Canvas if omitted (or null).
OptionaluniformsOptionalvert
Blend mode override. Default:
"premultiplied"when drawing tothe canvas (
targetnull/omitted),"none"when drawing to auser-allocated render target. Use
"additive"for accumulatingdraws like sparkles or particle stamps.