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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)