Struct wgpu_core::device::descriptor::DescriptorTotalCount[]

pub struct DescriptorTotalCount {
Show fields pub sampler: u32, pub combined_image_sampler: u32, pub sampled_image: u32, pub storage_image: u32, pub uniform_texel_buffer: u32, pub storage_texel_buffer: u32, pub uniform_buffer: u32, pub storage_buffer: u32, pub uniform_buffer_dynamic: u32, pub storage_buffer_dynamic: u32, pub input_attachment: u32, pub acceleration_structure: u32, pub inline_uniform_block_bytes: u32, pub inline_uniform_block_bindings: u32,
}

Number of descriptors of each type.

For InlineUniformBlock this value is number of bytes instead.

Fields

sampler: u32combined_image_sampler: u32sampled_image: u32storage_image: u32uniform_texel_buffer: u32storage_texel_buffer: u32uniform_buffer: u32storage_buffer: u32uniform_buffer_dynamic: u32storage_buffer_dynamic: u32input_attachment: u32acceleration_structure: u32inline_uniform_block_bytes: u32inline_uniform_block_bindings: u32

Trait Implementations

impl Clone for DescriptorTotalCount

impl Copy for DescriptorTotalCount

impl Debug for DescriptorTotalCount

impl Default for DescriptorTotalCount

impl Eq for DescriptorTotalCount

impl Hash for DescriptorTotalCount

impl PartialEq<DescriptorTotalCount> for DescriptorTotalCount

impl StructuralEq for DescriptorTotalCount

impl StructuralPartialEq for DescriptorTotalCount

Auto Trait Implementations

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> CallHasher for T where
    T: Hash

impl<T> Downcast<T> for T

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> Upcast<T> for T