[−][src]Struct web_glitz::pipeline::resources::TypedResourceBindingsLayoutDescriptor
A typed description of the resource binding slots used by a pipeline.
This type includes description of the exact resource type used for each resource slot, which may be checked against the resource types defined by the pipeline's shader stages.
See also ResourceBindingsLayoutDescriptor a descriptor that only includes the minimum of information necessary to initialize a pipeline.
Implementations
impl TypedResourceBindingsLayoutDescriptor
[src]
pub const unsafe fn new(
bind_groups: &'static [TypedBindGroupLayoutDescriptor]
) -> Self
[src]
bind_groups: &'static [TypedBindGroupLayoutDescriptor]
) -> Self
Creates a new [TypedBindGroupLayoutDescriptor] contains the specified bind_groups
.
Unsafe
The bind groups must be ordered by their bind group index (see [TypedBindGroupLayoutDescriptor::bind_group_index]) in ascending order and there must not be multiple bind groups that use the same bind group index.
pub const fn empty() -> Self
[src]
Creates a new empty TypedResourceBindingsLayoutDescriptor without any bind groups.
pub fn bind_groups(&self) -> &[TypedBindGroupLayoutDescriptor]
[src]
The bind groups specified for this layout.
Trait Implementations
impl Clone for TypedResourceBindingsLayoutDescriptor
[src]
fn clone(&self) -> TypedResourceBindingsLayoutDescriptor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TypedResourceBindingsLayoutDescriptor
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypedResourceBindingsLayoutDescriptor
impl Send for TypedResourceBindingsLayoutDescriptor
impl Sync for TypedResourceBindingsLayoutDescriptor
impl Unpin for TypedResourceBindingsLayoutDescriptor
impl UnwindSafe for TypedResourceBindingsLayoutDescriptor
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,
pub 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,
pub fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static,
[src]
Rc: RenderingContext + Clone + 'static,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,