WebGPU Headers: WGPUBindGroupEntry Struct Reference
Data Fields | |
| WGPUChainedStruct * | nextInChain |
| uint32_t | binding |
| WGPUBuffer | buffer |
| uint64_t | offset |
| uint64_t | size |
| WGPUSampler | sampler |
| WGPUTextureView | textureView |
Default values can be set using WGPU_BIND_GROUP_ENTRY_INIT as initializer.
◆ nextInChain
◆ binding
uint32_t WGPUBindGroupEntry::binding
◆ buffer
Set this if the binding is a buffer object. Otherwise must be null.
The INIT macro sets this to NULL.
◆ offset
uint64_t WGPUBindGroupEntry::offset
◆ 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.
◆ sampler
Set this if the binding is a sampler object. Otherwise must be null.
The INIT macro sets this to NULL.