op.pass
One GPU pass, the same every frame.
op.pass(step: ComputeStep): GridStage
Import sim from shaders/std and use sim.grids.op.pass.
Parameters
| Name | Type | Notes |
|---|---|---|
step | ComputeStep |
Example
op.pass(update)
See also
op.cache— A GPU pass chosen per frame, for a pass whose input is rebound after the frame starts.op.iterate— Run a stepcounttimes this frame.op.publish— The last stage: write the state into the texture the layer samples.