Module bind_group

Source

Structs§

BindGroupBuilder
Builder for bind groups IMPORTANT: order of adding entries sets also the binding index that should correspond with the layout and the shader
BindGroupDesc
Describes a bind group a series of entries
BindGroupEntry
Stores both an entry and the global_id of the resources it points to in order to track if the bind group is stale Required wgpu to enable the expose-ids feature
BindGroupWrapper
Wrapper for a bind group that also keeps the ids of the entries. This helps with keeping track if the textures in the entries have changed and the bind group needs to be recreated

Enums§

BgEntriesId
Since we want the BindGroupWrapper to keep a vector of the ids and the ids are all typed, we use an enum to deal with heterogeneous types

Functions§

align