Documentation
    Preparing search index...

    Type Alias ComputeBindingAccess

    ComputeBindingAccess: "read-write" | "read-only"

    How a dispatch binds one storage buffer: writable, or read-only.

    "read-write" is WGSL's var<storage, read_write>; "read-only" is var<storage, read>. The access mode is layout identity — WebGPU validates the shader's declared access against the bind-group layout's buffer type — which is why it is part of the descriptor rather than assumed.