Struct wgpu_hal::gles::BindGroupLayoutInfo
source · struct BindGroupLayoutInfo {
entries: Arc<[BindGroupLayoutEntry]>,
binding_to_slot: Box<[u8]>,
}
Fields§
§entries: Arc<[BindGroupLayoutEntry]>
§binding_to_slot: Box<[u8]>
Mapping of resources, indexed by binding
, into the whole layout space.
For texture resources, the value is the texture slot index.
For sampler resources, the value is the index of the sampler in the whole layout.
For buffers, the value is the uniform or storage slot index.
For unused bindings, the value is !0
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindGroupLayoutInfo
impl RefUnwindSafe for BindGroupLayoutInfo
impl Send for BindGroupLayoutInfo
impl Sync for BindGroupLayoutInfo
impl Unpin for BindGroupLayoutInfo
impl UnwindSafe for BindGroupLayoutInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more