Struct BindGroup

An opaque handle to a binding group.

struct BindGroup ;

A BindGroup represents the set of resources bound to the bindings described by a BindGroupLayout. It can be created with Device.createBindGroup. A BindGroup can be bound to a particular RenderPass with RenderPass.setBindGroup, or to a ComputePass with ComputePass.setBindGroup.

Fields

NameTypeDescription
descriptor __C.WGPUBindGroupDescriptorDescribes this binding group.
id __C.WGPUBindGroupImpl*Handle identifier.

See Also

wgpu::BindGroup