Enum spirv_cross2::reflect::ImageClass
source · pub enum ImageClass {
Sampled {
depth: bool,
multisampled: bool,
arrayed: bool,
},
Texture {
multisampled: bool,
arrayed: bool,
},
LoadStore {
format: ImageFormat,
},
}Expand description
Class of image or texture handle.
Variants§
Sampled
Combined image samplers.
Fields
Texture
Separate image.
Fields
LoadStore
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.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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)