Struct BindGroupLayout

An opaque handle to a binding group layout.

struct BindGroupLayout ;

A BindGroupLayout is a handle to the GPU-side layout of a binding group. It can be used to create a BindGroupDescriptor object, which in turn can be used to create a BindGroup object with Device.createBindGroup. A series of BindGroupLayouts can also be used to create a PipelineLayoutDescriptor, which can be used to create a PipelineLayout.

Fields

NameTypeDescription
descriptor __C.WGPUBindGroupLayoutDescriptorDescribes this BindGroupLayout.
id __C.WGPUBindGroupLayoutImpl*Handle identifier.

See Also

wgpu::BindGroupLayout