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
childrenOptional array of BufferBindingChildrenBinding to add to this BufferBinding to create complex Struct
objects containing Struct
BufferBinding children.
Optional
minThe minimum GPUDevice buffer offset alignment.
Optional
offsetOptional offset of the BufferBinding in the parent BufferBinding (as an index - not in bytes).
Optional
parentThe optional parent BufferBinding that will actually handle the GPUBuffer.
Optional
buffer
Parameters used to create a BufferBinding