BindGroupEntry

Type Alias BindGroupEntry 

Source
pub type BindGroupEntry<'a> = BindGroupEntry<'a>;
Expand description

The wgpu bind group entry type.

Aliased Type§

pub struct BindGroupEntry<'a> {
    pub binding: u32,
    pub resource: BindingResource<'a>,
}

Fields§

§binding: u32

Slot for which binding provides resource. Corresponds to an entry of the same binding index in the [BindGroupLayoutDescriptor].

§resource: BindingResource<'a>

Resource to attach to the binding