Struct gpu_descriptor::DescriptorTotalCount[][src]

pub struct DescriptorTotalCount {
    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[src]

impl Copy for DescriptorTotalCount[src]

impl Debug for DescriptorTotalCount[src]

impl Default for DescriptorTotalCount[src]

impl Eq for DescriptorTotalCount[src]

impl Hash for DescriptorTotalCount[src]

impl PartialEq<DescriptorTotalCount> for DescriptorTotalCount[src]

impl StructuralEq for DescriptorTotalCount[src]

impl StructuralPartialEq for DescriptorTotalCount[src]

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> 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.