Skip to main content

Module layout

Module layout 

Source

Structs§

GroupLayout
A bind group layout tagged with the @group(N) it occupies in the pipeline.
OwnedGroupLayout
An owned bind group layout tagged with the @group(N) it occupies, for descriptors that hold layouts by value.

Functions§

assemble_bind_group_layouts
Assembles bind group layouts for a pipeline from explicit, group-tagged slots, rather than an implicit position-based order. Panics if any group index in 0..=max_index is missing a layout, or if two slots claim the same index — both are almost always a mistake that would otherwise show up later as an opaque wgpu shader validation error.