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