[−][src]Struct web_glitz::pipeline::resources::BindGroup
Represents a group of bindable resources that may be bound to a pipeline and are shared by all invocations during the pipeline's execution.
See [RenderingContext::create_bind_group] for details on how a bind group is created.
More than one bind group may be bound to a pipeline, see [GraphicsPipelineTaskBuilder::bind_resources] and [GraphicsPipelineTaskBuilder::bind_resources_untyped] for details.
Implementations
impl BindGroup<()>[src]
Trait Implementations
impl<T> Hash for BindGroup<T>[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<T> PartialEq<BindGroup<T>> for BindGroup<T>[src]
impl<T0, '_> ResourceBindings for &'_ BindGroup<T0>[src]
type BindGroups = [BindGroupDescriptor; 1]
Type that describes the collection of bindings.
fn encode(
self,
encoding_context: &mut ResourceBindingsEncodingContext
) -> ResourceBindingsEncoding<'_, Self::BindGroups>[src]
self,
encoding_context: &mut ResourceBindingsEncodingContext
) -> ResourceBindingsEncoding<'_, Self::BindGroups>
impl<T0, '_> TypedResourceBindings for &'_ BindGroup<T0> where
T0: TypedBindableResourceGroup, [src]
T0: TypedBindableResourceGroup,
type Layout = T0::Layout
A type statically associated with a resource bindings layout with which the encoding of any instance of these TypedResourceBindings is compatible. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for BindGroup<T>
impl<T> !Send for BindGroup<T>
impl<T> !Sync for BindGroup<T>
impl<T> Unpin for BindGroup<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for BindGroup<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D, T> IntoBuffer<T> for D where
D: Borrow<T> + 'static,
T: Copy + 'static, [src]
D: Borrow<T> + 'static,
T: Copy + 'static,
fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static, [src]
Rc: RenderingContext + Clone + 'static,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,