Skip to main content

create_compute_bind_group_layout

Function create_compute_bind_group_layout 

Source
pub fn create_compute_bind_group_layout(
    device: &Device,
    entries: &[BindGroupLayoutEntry],
    label: Option<&str>,
) -> GpuResult<BindGroupLayout>
Expand description

Create a bind group layout for common compute patterns.

ยงErrors

Returns an error if layout creation fails.