Struct gpu_descriptor::DescriptorTotalCount
source · [−]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
Trait Implementations
sourceimpl Clone for DescriptorTotalCount
impl Clone for DescriptorTotalCount
sourcefn clone(&self) -> DescriptorTotalCount
fn clone(&self) -> DescriptorTotalCount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescriptorTotalCount
impl Debug for DescriptorTotalCount
sourceimpl Default for DescriptorTotalCount
impl Default for DescriptorTotalCount
sourcefn default() -> DescriptorTotalCount
fn default() -> DescriptorTotalCount
Returns the “default value” for a type. Read more
sourceimpl Hash for DescriptorTotalCount
impl Hash for DescriptorTotalCount
sourceimpl PartialEq<DescriptorTotalCount> for DescriptorTotalCount
impl PartialEq<DescriptorTotalCount> for DescriptorTotalCount
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DescriptorTotalCount) -> bool
fn ne(&self, other: &DescriptorTotalCount) -> bool
This method tests for !=
.
impl Copy for DescriptorTotalCount
impl Eq for DescriptorTotalCount
impl StructuralEq for DescriptorTotalCount
impl StructuralPartialEq for DescriptorTotalCount
Auto Trait Implementations
impl RefUnwindSafe for DescriptorTotalCount
impl Send for DescriptorTotalCount
impl Sync for DescriptorTotalCount
impl Unpin for DescriptorTotalCount
impl UnwindSafe for DescriptorTotalCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more