pub enum ImageClass {
Sampled {
depth: bool,
multisampled: bool,
arrayed: bool,
},
Texture {
multisampled: bool,
arrayed: bool,
},
Storage {
format: ImageFormat,
},
}Expand description
Class of image or texture handle.
Variants§
Sampled
Combined image samplers.
Fields
Texture
Separate image.
Fields
Storage
Storage images.
Fields
§
format: ImageFormatThe image format of the storage image.
Trait Implementations§
source§impl Clone for ImageClass
impl Clone for ImageClass
source§fn clone(&self) -> ImageClass
fn clone(&self) -> ImageClass
Returns a copy of the value. Read more
1.6.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 ImageClass
impl Debug for ImageClass
source§impl PartialEq for ImageClass
impl PartialEq for ImageClass
impl Eq for ImageClass
impl StructuralPartialEq for ImageClass
Auto Trait Implementations§
impl Freeze for ImageClass
impl RefUnwindSafe for ImageClass
impl Send for ImageClass
impl Sync for ImageClass
impl Unpin for ImageClass
impl UnwindSafe for ImageClass
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)