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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.