Struct ash::vk::ImageUsageFlags
source · #[repr(transparent)]pub struct ImageUsageFlags(pub(crate) Flags);
Expand description
Tuple Fields§
§0: Flags
Implementations§
source§impl ImageUsageFlags
impl ImageUsageFlags
source§impl ImageUsageFlags
impl ImageUsageFlags
sourcepub const TRANSFER_SRC: Self = _
pub const TRANSFER_SRC: Self = _
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: Self = _
pub const TRANSFER_DST: Self = _
Can be used as a destination of transfer operations
sourcepub const SAMPLED: Self = _
pub const SAMPLED: Self = _
Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const COLOR_ATTACHMENT: Self = _
pub const COLOR_ATTACHMENT: Self = _
Can be used as framebuffer color attachment
sourcepub const DEPTH_STENCIL_ATTACHMENT: Self = _
pub const DEPTH_STENCIL_ATTACHMENT: Self = _
Can be used as framebuffer depth/stencil attachment
sourcepub const TRANSIENT_ATTACHMENT: Self = _
pub const TRANSIENT_ATTACHMENT: Self = _
Image data not needed outside of rendering
sourcepub const INPUT_ATTACHMENT: Self = _
pub const INPUT_ATTACHMENT: Self = _
Can be used as framebuffer input attachment
source§impl ImageUsageFlags
impl ImageUsageFlags
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 ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_IMAGE_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: Self = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_host_image_copy’
sourcepub const HOST_TRANSFER_EXT: Self = _
pub const HOST_TRANSFER_EXT: Self = _
Can be used with host image copies
source§impl ImageUsageFlags
impl ImageUsageFlags
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 ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_attachment_feedback_loop_layout’
pub const ATTACHMENT_FEEDBACK_LOOP_EXT: Self = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_HUAWEI_invocation_mask’
pub const INVOCATION_MASK_HUAWEI: Self = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_image_processing’
pub const SAMPLE_WEIGHT_QCOM: Self = _
pub const SAMPLE_BLOCK_MATCH_QCOM: Self = _
Trait Implementations§
source§impl BitAnd for ImageUsageFlags
impl BitAnd for ImageUsageFlags
source§impl BitAndAssign for ImageUsageFlags
impl BitAndAssign for ImageUsageFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOr for ImageUsageFlags
impl BitOr for ImageUsageFlags
source§impl BitOrAssign for ImageUsageFlags
impl BitOrAssign for ImageUsageFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXor for ImageUsageFlags
impl BitXor for ImageUsageFlags
source§impl BitXorAssign for ImageUsageFlags
impl BitXorAssign for ImageUsageFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl Clone for ImageUsageFlags
impl Clone for ImageUsageFlags
source§fn clone(&self) -> ImageUsageFlags
fn clone(&self) -> ImageUsageFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageUsageFlags
impl Debug for ImageUsageFlags
source§impl Default for ImageUsageFlags
impl Default for ImageUsageFlags
source§impl Hash for ImageUsageFlags
impl Hash for ImageUsageFlags
source§impl Not for ImageUsageFlags
impl Not for ImageUsageFlags
source§impl Ord for ImageUsageFlags
impl Ord for ImageUsageFlags
source§fn cmp(&self, other: &ImageUsageFlags) -> Ordering
fn cmp(&self, other: &ImageUsageFlags) -> 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 ImageUsageFlags
impl PartialEq for ImageUsageFlags
source§fn eq(&self, other: &ImageUsageFlags) -> bool
fn eq(&self, other: &ImageUsageFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageUsageFlags
impl PartialOrd for ImageUsageFlags
source§fn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageUsageFlags) -> 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