Struct ash::vk::enums::ImageLayout
source · #[repr(transparent)]pub struct ImageLayout(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl ImageLayout
impl ImageLayout
source§impl 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
source§impl 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 = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_shared_presentable_image’
pub const SHARED_PRESENT_KHR: Self = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_maintenance2’
pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR: Self = Self::DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL
pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR: Self = Self::DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_OPTIMAL_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: Self = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: Self = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_dynamic_rendering_local_read’
pub const RENDERING_LOCAL_READ_KHR: Self = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_separate_depth_stencil_layouts’
pub const DEPTH_ATTACHMENT_OPTIMAL_KHR: Self = Self::DEPTH_ATTACHMENT_OPTIMAL
pub const DEPTH_READ_ONLY_OPTIMAL_KHR: Self = Self::DEPTH_READ_ONLY_OPTIMAL
pub const STENCIL_ATTACHMENT_OPTIMAL_KHR: Self = Self::STENCIL_ATTACHMENT_OPTIMAL
pub const STENCIL_READ_ONLY_OPTIMAL_KHR: Self = Self::STENCIL_READ_ONLY_OPTIMAL
source§impl 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 = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_KHR_synchronization2’
pub const READ_ONLY_OPTIMAL_KHR: Self = Self::READ_ONLY_OPTIMAL
pub const ATTACHMENT_OPTIMAL_KHR: Self = Self::ATTACHMENT_OPTIMAL
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_EXT_attachment_feedback_loop_layout’
pub const ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: Self = _
source§impl 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 = _
source§impl 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 = _
source§impl ImageLayout
impl ImageLayout
Generated from ‘VK_VERSION_1_3’
pub const READ_ONLY_OPTIMAL: Self = _
pub const ATTACHMENT_OPTIMAL: Self = _
Trait Implementations§
source§impl Clone for ImageLayout
impl Clone for ImageLayout
source§fn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageLayout
impl Debug for ImageLayout
source§impl Default for ImageLayout
impl Default for ImageLayout
source§fn default() -> ImageLayout
fn default() -> ImageLayout
source§impl Hash for ImageLayout
impl Hash for ImageLayout
source§impl Ord for ImageLayout
impl Ord for ImageLayout
source§fn cmp(&self, other: &ImageLayout) -> Ordering
fn cmp(&self, other: &ImageLayout) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ImageLayout
impl PartialEq for ImageLayout
source§fn eq(&self, other: &ImageLayout) -> bool
fn eq(&self, other: &ImageLayout) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageLayout
impl PartialOrd for ImageLayout
source§fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageLayout) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more