pub struct DescriptorTotalCount {Show 14 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: u32
§combined_image_sampler: u32
§sampled_image: u32
§storage_image: u32
§uniform_texel_buffer: u32
§storage_texel_buffer: u32
§uniform_buffer: u32
§storage_buffer: u32
§uniform_buffer_dynamic: u32
§storage_buffer_dynamic: u32
§input_attachment: u32
§acceleration_structure: u32
§inline_uniform_block_bytes: u32
§inline_uniform_block_bindings: u32
Implementations§
Trait Implementations§
source§impl Clone for DescriptorTotalCount
impl Clone for DescriptorTotalCount
source§fn clone(&self) -> DescriptorTotalCount
fn clone(&self) -> DescriptorTotalCount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescriptorTotalCount
impl Debug for DescriptorTotalCount
source§impl Default for DescriptorTotalCount
impl Default for DescriptorTotalCount
source§fn default() -> DescriptorTotalCount
fn default() -> DescriptorTotalCount
Returns the “default value” for a type. Read more
source§impl Hash for DescriptorTotalCount
impl Hash for DescriptorTotalCount
source§impl PartialEq for DescriptorTotalCount
impl PartialEq for DescriptorTotalCount
source§fn eq(&self, other: &DescriptorTotalCount) -> bool
fn eq(&self, other: &DescriptorTotalCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DescriptorTotalCount
impl Eq for DescriptorTotalCount
impl StructuralPartialEq for DescriptorTotalCount
Auto Trait Implementations§
impl Freeze for DescriptorTotalCount
impl RefUnwindSafe for DescriptorTotalCount
impl Send for DescriptorTotalCount
impl Sync for DescriptorTotalCount
impl Unpin for DescriptorTotalCount
impl UnwindSafe for DescriptorTotalCount
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more