pub struct FormatProperties {
pub max_extent: Extent,
pub max_levels: u8,
pub max_layers: u16,
pub sample_count_mask: u8,
pub max_resource_size: usize,
}
Expand description
Image format properties.
Fields§
§max_extent: Extent
Maximum extent.
max_levels: u8
Max number of mipmap levels.
max_layers: u16
Max number of array layers.
sample_count_mask: u8
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
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
)