Optional
labelBinding label
Optional
nameBinding name/key
Optional
visibilityBinding variables shaders visibility as an array of shaders types names
Optional
useWhether this BufferBinding should use structured WGSL variables
Optional
accessBufferBinding memory access types (read only or read/write)
Optional
structObject containing one or multiple inputs describing the structure of the BufferBinding
Optional
usageAllowed usages for the BufferBinding#buffer as an array of buffer usages names
Optional
bindingThe binding type of the BufferBinding
Optional
bindingsOptional array of already created BufferBinding to add to this BufferBinding.
Optional
shouldWhether whe should automatically copy the GPU buffer content into our result GPU buffer
Parameters used to create a WritableBufferBinding