Struct wgpu_core::binding_model::BindGroupLayout
source · pub struct BindGroupLayout<A: Api> { /* private fields */ }
Expand description
Bind group layout.
The lifetime of BGLs is a bit special. They are only referenced on CPU without considering GPU operations. And on CPU they get manual inc-refs and dec-refs. In particular, the following objects depend on them:
- produced bind groups
- produced pipeline layouts
- pipelines with implicit layouts