Struct ash::vk::bitflags::FormatFeatureFlags
source · #[repr(transparent)]pub struct FormatFeatureFlags(pub(crate) Flags);
Expand description
Tuple Fields§
§0: Flags
Implementations§
source§impl FormatFeatureFlags
impl FormatFeatureFlags
source§impl FormatFeatureFlags
impl FormatFeatureFlags
sourcepub const SAMPLED_IMAGE: Self = _
pub const SAMPLED_IMAGE: Self = _
Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const STORAGE_IMAGE: Self = _
pub const STORAGE_IMAGE: Self = _
Format can be used for storage images (STORAGE_IMAGE descriptor type)
sourcepub const STORAGE_IMAGE_ATOMIC: Self = _
pub const STORAGE_IMAGE_ATOMIC: Self = _
Format supports atomic operations in case it is used for storage images
sourcepub const UNIFORM_TEXEL_BUFFER: Self = _
pub const UNIFORM_TEXEL_BUFFER: Self = _
Format can be used for uniform texel buffers (TBOs)
sourcepub const STORAGE_TEXEL_BUFFER: Self = _
pub const STORAGE_TEXEL_BUFFER: Self = _
Format can be used for storage texel buffers (IBOs)
sourcepub const STORAGE_TEXEL_BUFFER_ATOMIC: Self = _
pub const STORAGE_TEXEL_BUFFER_ATOMIC: Self = _
Format supports atomic operations in case it is used for storage texel buffers
sourcepub const VERTEX_BUFFER: Self = _
pub const VERTEX_BUFFER: Self = _
Format can be used for vertex buffers (VBOs)
sourcepub const COLOR_ATTACHMENT: Self = _
pub const COLOR_ATTACHMENT: Self = _
Format can be used for color attachment images
sourcepub const COLOR_ATTACHMENT_BLEND: Self = _
pub const COLOR_ATTACHMENT_BLEND: Self = _
Format supports blending in case it is used for color attachment images
sourcepub const DEPTH_STENCIL_ATTACHMENT: Self = _
pub const DEPTH_STENCIL_ATTACHMENT: Self = _
Format can be used for depth/stencil attachment images
sourcepub const BLIT_SRC: Self = _
pub const BLIT_SRC: Self = _
Format can be used as the source image of blits with vkCmdBlitImage
sourcepub const BLIT_DST: Self = _
pub const BLIT_DST: Self = _
Format can be used as the destination image of blits with vkCmdBlitImage
sourcepub const SAMPLED_IMAGE_FILTER_LINEAR: Self = _
pub const SAMPLED_IMAGE_FILTER_LINEAR: Self = _
Format can be filtered with VK_FILTER_LINEAR when being sampled
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_IMG_filter_cubic’
sourcepub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: Self = Self::SAMPLED_IMAGE_FILTER_CUBIC_EXT
pub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: Self = Self::SAMPLED_IMAGE_FILTER_CUBIC_EXT
Format can be filtered with VK_FILTER_CUBIC_IMG when being sampled
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_OUTPUT_KHR: Self = _
pub const VIDEO_DECODE_DPB_KHR: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_maintenance1’
pub const TRANSFER_SRC_KHR: Self = Self::TRANSFER_SRC
pub const TRANSFER_DST_KHR: Self = Self::TRANSFER_DST
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_sampler_filter_minmax’
pub const SAMPLED_IMAGE_FILTER_MINMAX_EXT: Self = Self::SAMPLED_IMAGE_FILTER_MINMAX
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const MIDPOINT_CHROMA_SAMPLES_KHR: Self = Self::MIDPOINT_CHROMA_SAMPLES
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: Self = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_KHR: Self = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_KHR: Self = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_KHR: Self = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE
pub const DISJOINT_KHR: Self = Self::DISJOINT
pub const COSITED_CHROMA_SAMPLES_KHR: Self = Self::COSITED_CHROMA_SAMPLES
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_filter_cubic’
pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_INPUT_KHR: Self = _
pub const VIDEO_ENCODE_DPB_KHR: Self = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const TRANSFER_SRC: Self = _
pub const TRANSFER_SRC: Self = _
Format can be used as the source image of image transfer commands
sourcepub const TRANSFER_DST: Self = _
pub const TRANSFER_DST: Self = _
Format can be used as the destination image of image transfer commands
sourcepub const MIDPOINT_CHROMA_SAMPLES: Self = _
pub const MIDPOINT_CHROMA_SAMPLES: Self = _
Format can have midpoint rather than cosited chroma samples
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: Self = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: Self = _
Format can be used with linear filtering whilst color conversion is enabled
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: Self = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: Self = _
Format can have different chroma, min and mag filters
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: Self = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: Self = _
sourcepub const COSITED_CHROMA_SAMPLES: Self = _
pub const COSITED_CHROMA_SAMPLES: Self = _
Format can have cosited rather than midpoint chroma samples
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_VERSION_1_2’
sourcepub const SAMPLED_IMAGE_FILTER_MINMAX: Self = _
pub const SAMPLED_IMAGE_FILTER_MINMAX: Self = _
Format can be used with min/max reduction filtering
Trait Implementations§
source§impl BitAnd for FormatFeatureFlags
impl BitAnd for FormatFeatureFlags
source§impl BitAndAssign for FormatFeatureFlags
impl BitAndAssign for FormatFeatureFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOr for FormatFeatureFlags
impl BitOr for FormatFeatureFlags
source§impl BitOrAssign for FormatFeatureFlags
impl BitOrAssign for FormatFeatureFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXor for FormatFeatureFlags
impl BitXor for FormatFeatureFlags
source§impl BitXorAssign for FormatFeatureFlags
impl BitXorAssign for FormatFeatureFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moresource§impl Clone for FormatFeatureFlags
impl Clone for FormatFeatureFlags
source§fn clone(&self) -> FormatFeatureFlags
fn clone(&self) -> FormatFeatureFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FormatFeatureFlags
impl Debug for FormatFeatureFlags
source§impl Default for FormatFeatureFlags
impl Default for FormatFeatureFlags
source§impl Hash for FormatFeatureFlags
impl Hash for FormatFeatureFlags
source§impl Not for FormatFeatureFlags
impl Not for FormatFeatureFlags
source§impl Ord for FormatFeatureFlags
impl Ord for FormatFeatureFlags
source§fn cmp(&self, other: &FormatFeatureFlags) -> Ordering
fn cmp(&self, other: &FormatFeatureFlags) -> 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 FormatFeatureFlags
impl PartialEq for FormatFeatureFlags
source§fn eq(&self, other: &FormatFeatureFlags) -> bool
fn eq(&self, other: &FormatFeatureFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FormatFeatureFlags
impl PartialOrd for FormatFeatureFlags
source§fn partial_cmp(&self, other: &FormatFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &FormatFeatureFlags) -> 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