Struct gfx_hal::DescriptorLimits
source · [−]pub struct DescriptorLimits {Show 15 fields
pub max_per_stage_descriptor_samplers: u32,
pub max_per_stage_descriptor_uniform_buffers: u32,
pub max_per_stage_descriptor_storage_buffers: u32,
pub max_per_stage_descriptor_sampled_images: u32,
pub max_per_stage_descriptor_storage_images: u32,
pub max_per_stage_descriptor_input_attachments: u32,
pub max_per_stage_resources: u32,
pub max_descriptor_set_samplers: u32,
pub max_descriptor_set_uniform_buffers: u32,
pub max_descriptor_set_uniform_buffers_dynamic: u32,
pub max_descriptor_set_storage_buffers: u32,
pub max_descriptor_set_storage_buffers_dynamic: u32,
pub max_descriptor_set_sampled_images: u32,
pub max_descriptor_set_storage_images: u32,
pub max_descriptor_set_input_attachments: u32,
}
Expand description
Fields
max_per_stage_descriptor_samplers: u32
max_per_stage_descriptor_uniform_buffers: u32
max_per_stage_descriptor_storage_buffers: u32
max_per_stage_descriptor_sampled_images: u32
max_per_stage_descriptor_storage_images: u32
max_per_stage_descriptor_input_attachments: u32
max_per_stage_resources: u32
max_descriptor_set_samplers: u32
max_descriptor_set_uniform_buffers: u32
max_descriptor_set_uniform_buffers_dynamic: u32
max_descriptor_set_storage_buffers: u32
max_descriptor_set_storage_buffers_dynamic: u32
max_descriptor_set_sampled_images: u32
max_descriptor_set_storage_images: u32
max_descriptor_set_input_attachments: u32
Trait Implementations
sourceimpl Clone for DescriptorLimits
impl Clone for DescriptorLimits
sourcefn clone(&self) -> DescriptorLimits
fn clone(&self) -> DescriptorLimits
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 DescriptorLimits
impl Debug for DescriptorLimits
sourceimpl Default for DescriptorLimits
impl Default for DescriptorLimits
sourcefn default() -> DescriptorLimits
fn default() -> DescriptorLimits
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DescriptorLimits> for DescriptorLimits
impl PartialEq<DescriptorLimits> for DescriptorLimits
sourcefn eq(&self, other: &DescriptorLimits) -> bool
fn eq(&self, other: &DescriptorLimits) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescriptorLimits) -> bool
fn ne(&self, other: &DescriptorLimits) -> bool
This method tests for !=
.
impl Copy for DescriptorLimits
impl StructuralPartialEq for DescriptorLimits
Auto Trait Implementations
impl RefUnwindSafe for DescriptorLimits
impl Send for DescriptorLimits
impl Sync for DescriptorLimits
impl Unpin for DescriptorLimits
impl UnwindSafe for DescriptorLimits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more