Inheritance: BufferAttribute → StorageBufferAttribute →
This special type of buffer attribute is intended for compute shaders. It can be used to encode draw parameters for indirect draw calls.
Note: This type of buffer attribute can only be used with WebGPURenderer and a WebGPU backend.
Constructs a new storage buffer attribute.
count
The item count. It is also valid to pass a Uint32Array as an argument. The subsequent parameter is then obsolete.
itemSize
The item size.
This flag can be used for type testing.
Default is true.