OptionallabelBinding label.
OptionalnameBinding name/key.
OptionalvisibilityBinding variables shaders visibility as an array of shaders types names.
OptionaluseWhether this BufferBinding should use structured WGSL variables
OptionalaccessBufferBinding memory access types (read only or read/write)
OptionalstructObject containing one or multiple inputs describing the structure of the BufferBinding
OptionalusageAllowed usages for the BufferBinding#buffer as an array of buffer usages names
OptionalbindingThe binding type of the BufferBinding
OptionalchildrenOptional array of BufferBindingChildrenBinding to add to this BufferBinding to create complex Struct objects containing Struct BufferBinding children.
OptionalminThe minimum GPUDevice buffer offset alignment.
OptionaloffsetOptional offset of the BufferBinding in the parent BufferBinding (as an index - not in bytes).
OptionalparentThe optional parent BufferBinding that will actually handle the GPUBuffer.
OptionalbufferOptionalshouldWhether whe should automatically copy the GPU buffer content into our result GPU buffer
Parameters used to create a WritableBufferBinding