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,
}Expand description
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: u32Trait Implementations
impl Clone for DescriptorTotalCount
impl Clone for DescriptorTotalCountpub fn clone(&self) -> DescriptorTotalCount
pub fn clone(&self) -> DescriptorTotalCountReturns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl Debug for DescriptorTotalCount
impl Debug for DescriptorTotalCountimpl Default for DescriptorTotalCount
impl Default for DescriptorTotalCountpub fn default() -> DescriptorTotalCount
pub fn default() -> DescriptorTotalCountReturns the “default value” for a type. Read more
impl Hash for DescriptorTotalCount
impl Hash for DescriptorTotalCountpub fn eq(&self, other: &DescriptorTotalCount) -> bool
pub fn eq(&self, other: &DescriptorTotalCount) -> boolThis method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &DescriptorTotalCount) -> bool
pub fn ne(&self, other: &DescriptorTotalCount) -> boolThis method tests for !=.
impl Copy for DescriptorTotalCountimpl Eq for DescriptorTotalCountimpl StructuralEq for DescriptorTotalCountimpl StructuralPartialEq for DescriptorTotalCountAuto Trait Implementations
impl RefUnwindSafe for DescriptorTotalCountimpl Send for DescriptorTotalCountimpl Sync for DescriptorTotalCountimpl Unpin for DescriptorTotalCountimpl UnwindSafe for DescriptorTotalCountBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, Compare self to key and return true if they are equal.