#[repr(u32)]pub enum TiImageLayout {
Undefined = 0,
ShaderRead = 1,
ShaderWrite = 2,
ShaderReadWrite = 3,
ColorAttachment = 4,
ColorAttachmentRead = 5,
DepthAttachment = 6,
DepthAttachmentRead = 7,
TransferDst = 8,
TransferSrc = 9,
PresentSrc = 10,
}Expand description
Enumeration TiImageLayout
Variants§
Undefined = 0
ShaderRead = 1
ShaderWrite = 2
ShaderReadWrite = 3
ColorAttachment = 4
ColorAttachmentRead = 5
DepthAttachment = 6
DepthAttachmentRead = 7
TransferDst = 8
TransferSrc = 9
PresentSrc = 10
Trait Implementations§
Source§impl Clone for TiImageLayout
impl Clone for TiImageLayout
Source§fn clone(&self) -> TiImageLayout
fn clone(&self) -> TiImageLayout
Returns a duplicate 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 TiImageLayout
impl Debug for TiImageLayout
Source§impl Hash for TiImageLayout
impl Hash for TiImageLayout
Source§impl Ord for TiImageLayout
impl Ord for TiImageLayout
Source§fn cmp(&self, other: &TiImageLayout) -> Ordering
fn cmp(&self, other: &TiImageLayout) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TiImageLayout
impl PartialEq for TiImageLayout
Source§impl PartialOrd for TiImageLayout
impl PartialOrd for TiImageLayout
impl Copy for TiImageLayout
impl Eq for TiImageLayout
impl StructuralPartialEq for TiImageLayout
Auto Trait Implementations§
impl Freeze for TiImageLayout
impl RefUnwindSafe for TiImageLayout
impl Send for TiImageLayout
impl Sync for TiImageLayout
impl Unpin for TiImageLayout
impl UnwindSafe for TiImageLayout
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