pub struct FormatProperties {
pub max_extent: Extent,
pub max_levels: Level,
pub max_layers: Layer,
pub sample_count_mask: NumSamples,
pub max_resource_size: usize,
}
Expand description
Image format properties.
Fields§
§max_extent: Extent
Maximum extent.
max_levels: Level
Max number of mipmap levels.
max_layers: Layer
Max number of array layers.
sample_count_mask: NumSamples
Bit mask of supported sample counts.
max_resource_size: usize
Maximum size of the resource in bytes.
Trait Implementations§
Source§impl Clone for FormatProperties
impl Clone for FormatProperties
Source§fn clone(&self) -> FormatProperties
fn clone(&self) -> FormatProperties
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 FormatProperties
impl Debug for FormatProperties
Source§impl Hash for FormatProperties
impl Hash for FormatProperties
Source§impl PartialEq for FormatProperties
impl PartialEq for FormatProperties
impl Copy for FormatProperties
impl Eq for FormatProperties
impl StructuralPartialEq for FormatProperties
Auto Trait Implementations§
impl Freeze for FormatProperties
impl RefUnwindSafe for FormatProperties
impl Send for FormatProperties
impl Sync for FormatProperties
impl Unpin for FormatProperties
impl UnwindSafe for FormatProperties
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