[][src]Struct web_glitz::pipeline::resources::BindGroup

pub struct BindGroup<T> { /* fields omitted */ }

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]

pub const fn empty() -> Self[src]

Trait Implementations

impl<T> Hash for BindGroup<T>[src]

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.

impl<T0, '_> TypedResourceBindings for &'_ BindGroup<T0> where
    T0: TypedBindableResourceGroup
[src]

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

impl<T> !UnwindSafe for BindGroup<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.