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_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_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 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§impl PartialOrd for ImageLayout
impl PartialOrd for ImageLayout
impl Copy for ImageLayout
impl Eq for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations§
impl Freeze for ImageLayout
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnwindSafe for ImageLayout
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
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)
clone_to_uninit
)