pub struct ImageLayout(/* private fields */);
Expand description
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 more