Builtin Library
- ..
- README.md484 B
- bindings.yaml131 B
- shader.wgsl267 B
README.md
zvol_viewer_fill
Leaves the volume as it is. The ZVOL viewer uploads voxels straight into the volume's 3D texture from the CPU, so the fill stage this shader occupies has nothing to compute — it reads one value from each binding so both stay live.
Bindings
| name | kind | what it is |
|---|---|---|
vol | storage3d (rgba16f) | the volume the viewer writes into from the CPU |
U | buffer (read, f32) | the fill parameters the spawn API supplies |