Struct ash::vk::ImageLayout
source · [−]#[repr(transparent)]pub struct ImageLayout(_);
Expand description
Implementations
sourceimpl ImageLayout
impl ImageLayout
sourceimpl ImageLayout
impl ImageLayout
sourcepub const UNDEFINED: Self
pub const UNDEFINED: Self
Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)
sourcepub const COLOR_ATTACHMENT_OPTIMAL: Self
pub const COLOR_ATTACHMENT_OPTIMAL: Self
Optimal layout when image is only used for color attachment read/write
sourcepub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self
pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self
Optimal layout when image is only used for depth/stencil attachment read/write
sourcepub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self
pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self
Optimal layout when image is used for read only depth/stencil attachment and shader access
sourcepub const SHADER_READ_ONLY_OPTIMAL: Self
pub const SHADER_READ_ONLY_OPTIMAL: Self
Optimal layout when image is used for read only shader access
sourcepub const TRANSFER_SRC_OPTIMAL: Self
pub const TRANSFER_SRC_OPTIMAL: Self
Optimal layout when image is used only as source of transfer operations
sourcepub const TRANSFER_DST_OPTIMAL: Self
pub const TRANSFER_DST_OPTIMAL: Self
Optimal layout when image is used only as destination of transfer operations
sourcepub const PREINITIALIZED: Self
pub const PREINITIALIZED: Self
Initial layout used when the data is populated by the CPU
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_DST_KHR: Self
pub const VIDEO_DECODE_SRC_KHR: Self
pub const VIDEO_DECODE_DPB_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_shared_presentable_image’
pub const SHARED_PRESENT_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR: Self
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_OPTIMAL_NV: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const DEPTH_ATTACHMENT_OPTIMAL_KHR: Self
pub const DEPTH_READ_ONLY_OPTIMAL_KHR: Self
pub const STENCIL_ATTACHMENT_OPTIMAL_KHR: Self
pub const STENCIL_READ_ONLY_OPTIMAL_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: Self
pub const VIDEO_ENCODE_SRC_KHR: Self
pub const VIDEO_ENCODE_DPB_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
pub const READ_ONLY_OPTIMAL_KHR: Self
pub const ATTACHMENT_OPTIMAL_KHR: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_VERSION_1_1’
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: Self
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: Self
sourceimpl ImageLayout
impl ImageLayout
Generated from ‘VK_VERSION_1_2’
pub const DEPTH_ATTACHMENT_OPTIMAL: Self
pub const DEPTH_READ_ONLY_OPTIMAL: Self
pub const STENCIL_ATTACHMENT_OPTIMAL: Self
pub const STENCIL_READ_ONLY_OPTIMAL: Self
Trait Implementations
sourceimpl Clone for ImageLayout
impl Clone for ImageLayout
sourcefn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImageLayout
impl Debug for ImageLayout
sourceimpl Default for ImageLayout
impl Default for ImageLayout
sourcefn default() -> ImageLayout
fn default() -> ImageLayout
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageLayout
impl Hash for ImageLayout
sourceimpl Ord for ImageLayout
impl Ord for ImageLayout
sourceimpl PartialEq<ImageLayout> for ImageLayout
impl PartialEq<ImageLayout> for ImageLayout
sourcefn eq(&self, other: &ImageLayout) -> bool
fn eq(&self, other: &ImageLayout) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageLayout) -> bool
fn ne(&self, other: &ImageLayout) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ImageLayout> for ImageLayout
impl PartialOrd<ImageLayout> for ImageLayout
sourcefn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ImageLayout
impl Eq for ImageLayout
impl StructuralEq for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnwindSafe for ImageLayout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more