Default values can be set using WGPU_BIND_GROUP_ENTRY_INIT as initializer.
Definition at line 1737 of file webgpu.h.
◆ nextInChain
◆ binding
uint32_t WGPUBindGroupEntry::binding |
Binding index in the bind group.
The INIT
macro sets this to 0
.
Definition at line 1744 of file webgpu.h.
◆ buffer
Set this if the binding is a buffer object. Otherwise must be null.
The INIT
macro sets this to NULL
.
Definition at line 1751 of file webgpu.h.
◆ offset
uint64_t WGPUBindGroupEntry::offset |
If the binding is a buffer, this is the byte offset of the binding range. Otherwise ignored.
The INIT
macro sets this to 0
.
Definition at line 1758 of file webgpu.h.
◆ size
uint64_t WGPUBindGroupEntry::size |
If the binding is a buffer, this is the byte size of the binding range (WGPU_WHOLE_SIZE means the binding ends at the end of the buffer). Otherwise ignored.
The INIT
macro sets this to WGPU_WHOLE_SIZE.
Definition at line 1766 of file webgpu.h.
◆ sampler
Set this if the binding is a sampler object. Otherwise must be null.
The INIT
macro sets this to NULL
.
Definition at line 1773 of file webgpu.h.
◆ textureView
Set this if the binding is a texture view object. Otherwise must be null.
The INIT
macro sets this to NULL
.
Definition at line 1780 of file webgpu.h.