Struct screen_13::prelude::vk::FormatFeatureFlags
source · pub struct FormatFeatureFlags(/* private fields */);
Expand description
Implementations§
source§impl FormatFeatureFlags
impl FormatFeatureFlags
pub const fn empty() -> FormatFeatureFlags
pub const fn from_raw(x: u32) -> FormatFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: FormatFeatureFlags) -> bool
sourcepub const fn contains(self, other: FormatFeatureFlags) -> bool
pub const fn contains(self, other: FormatFeatureFlags) -> bool
Returns whether other
is a subset of self
source§impl FormatFeatureFlags
impl FormatFeatureFlags
sourcepub const SAMPLED_IMAGE: FormatFeatureFlags = _
pub const SAMPLED_IMAGE: FormatFeatureFlags = _
Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const STORAGE_IMAGE: FormatFeatureFlags = _
pub const STORAGE_IMAGE: FormatFeatureFlags = _
Format can be used for storage images (STORAGE_IMAGE descriptor type)
sourcepub const STORAGE_IMAGE_ATOMIC: FormatFeatureFlags = _
pub const STORAGE_IMAGE_ATOMIC: FormatFeatureFlags = _
Format supports atomic operations in case it is used for storage images
sourcepub const UNIFORM_TEXEL_BUFFER: FormatFeatureFlags = _
pub const UNIFORM_TEXEL_BUFFER: FormatFeatureFlags = _
Format can be used for uniform texel buffers (TBOs)
sourcepub const STORAGE_TEXEL_BUFFER: FormatFeatureFlags = _
pub const STORAGE_TEXEL_BUFFER: FormatFeatureFlags = _
Format can be used for storage texel buffers (IBOs)
sourcepub const STORAGE_TEXEL_BUFFER_ATOMIC: FormatFeatureFlags = _
pub const STORAGE_TEXEL_BUFFER_ATOMIC: FormatFeatureFlags = _
Format supports atomic operations in case it is used for storage texel buffers
sourcepub const VERTEX_BUFFER: FormatFeatureFlags = _
pub const VERTEX_BUFFER: FormatFeatureFlags = _
Format can be used for vertex buffers (VBOs)
sourcepub const COLOR_ATTACHMENT: FormatFeatureFlags = _
pub const COLOR_ATTACHMENT: FormatFeatureFlags = _
Format can be used for color attachment images
sourcepub const COLOR_ATTACHMENT_BLEND: FormatFeatureFlags = _
pub const COLOR_ATTACHMENT_BLEND: FormatFeatureFlags = _
Format supports blending in case it is used for color attachment images
sourcepub const DEPTH_STENCIL_ATTACHMENT: FormatFeatureFlags = _
pub const DEPTH_STENCIL_ATTACHMENT: FormatFeatureFlags = _
Format can be used for depth/stencil attachment images
sourcepub const BLIT_SRC: FormatFeatureFlags = _
pub const BLIT_SRC: FormatFeatureFlags = _
Format can be used as the source image of blits with vkCmdBlitImage
sourcepub const BLIT_DST: FormatFeatureFlags = _
pub const BLIT_DST: FormatFeatureFlags = _
Format can be used as the destination image of blits with vkCmdBlitImage
sourcepub const SAMPLED_IMAGE_FILTER_LINEAR: FormatFeatureFlags = _
pub const SAMPLED_IMAGE_FILTER_LINEAR: FormatFeatureFlags = _
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: FormatFeatureFlags = Self::SAMPLED_IMAGE_FILTER_CUBIC_EXT
pub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: FormatFeatureFlags = 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: FormatFeatureFlags = _
pub const VIDEO_DECODE_DPB_KHR: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_maintenance1’
pub const TRANSFER_SRC_KHR: FormatFeatureFlags = Self::TRANSFER_SRC
pub const TRANSFER_DST_KHR: FormatFeatureFlags = Self::TRANSFER_DST
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_sampler_filter_minmax’
pub const SAMPLED_IMAGE_FILTER_MINMAX_EXT: FormatFeatureFlags = Self::SAMPLED_IMAGE_FILTER_MINMAX
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const MIDPOINT_CHROMA_SAMPLES_KHR: FormatFeatureFlags = Self::MIDPOINT_CHROMA_SAMPLES
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: FormatFeatureFlags = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_KHR: FormatFeatureFlags = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_KHR: FormatFeatureFlags = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_KHR: FormatFeatureFlags = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE
pub const DISJOINT_KHR: FormatFeatureFlags = Self::DISJOINT
pub const COSITED_CHROMA_SAMPLES_KHR: FormatFeatureFlags = Self::COSITED_CHROMA_SAMPLES
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_filter_cubic’
pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_INPUT_KHR: FormatFeatureFlags = _
pub const VIDEO_ENCODE_DPB_KHR: FormatFeatureFlags = _
source§impl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const TRANSFER_SRC: FormatFeatureFlags = _
pub const TRANSFER_SRC: FormatFeatureFlags = _
Format can be used as the source image of image transfer commands
sourcepub const TRANSFER_DST: FormatFeatureFlags = _
pub const TRANSFER_DST: FormatFeatureFlags = _
Format can be used as the destination image of image transfer commands
sourcepub const MIDPOINT_CHROMA_SAMPLES: FormatFeatureFlags = _
pub const MIDPOINT_CHROMA_SAMPLES: FormatFeatureFlags = _
Format can have midpoint rather than cosited chroma samples
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: FormatFeatureFlags = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: FormatFeatureFlags = _
Format can be used with linear filtering whilst color conversion is enabled
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: FormatFeatureFlags = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: FormatFeatureFlags = _
Format can have different chroma, min and mag filters
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: FormatFeatureFlags = _
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: FormatFeatureFlags = _
sourcepub const DISJOINT: FormatFeatureFlags = _
pub const DISJOINT: FormatFeatureFlags = _
Format supports disjoint planes
sourcepub const COSITED_CHROMA_SAMPLES: FormatFeatureFlags = _
pub const COSITED_CHROMA_SAMPLES: FormatFeatureFlags = _
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: FormatFeatureFlags = _
pub const SAMPLED_IMAGE_FILTER_MINMAX: FormatFeatureFlags = _
Format can be used with min/max reduction filtering
Trait Implementations§
source§impl BitAnd for FormatFeatureFlags
impl BitAnd for FormatFeatureFlags
§type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
&
operator.source§fn bitand(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
fn bitand(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
&
operation. Read moresource§impl BitAndAssign for FormatFeatureFlags
impl BitAndAssign for FormatFeatureFlags
source§fn bitand_assign(&mut self, rhs: FormatFeatureFlags)
fn bitand_assign(&mut self, rhs: FormatFeatureFlags)
&=
operation. Read moresource§impl BitOr for FormatFeatureFlags
impl BitOr for FormatFeatureFlags
§type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
|
operator.source§fn bitor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
fn bitor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
|
operation. Read moresource§impl BitOrAssign for FormatFeatureFlags
impl BitOrAssign for FormatFeatureFlags
source§fn bitor_assign(&mut self, rhs: FormatFeatureFlags)
fn bitor_assign(&mut self, rhs: FormatFeatureFlags)
|=
operation. Read moresource§impl BitXor for FormatFeatureFlags
impl BitXor for FormatFeatureFlags
§type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
^
operator.source§fn bitxor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
fn bitxor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
^
operation. Read moresource§impl BitXorAssign for FormatFeatureFlags
impl BitXorAssign for FormatFeatureFlags
source§fn bitxor_assign(&mut self, rhs: FormatFeatureFlags)
fn bitxor_assign(&mut self, rhs: FormatFeatureFlags)
^=
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§fn default() -> FormatFeatureFlags
fn default() -> FormatFeatureFlags
source§impl Hash for FormatFeatureFlags
impl Hash for FormatFeatureFlags
source§impl Not for FormatFeatureFlags
impl Not for FormatFeatureFlags
§type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
!
operator.source§fn not(self) -> FormatFeatureFlags
fn not(self) -> FormatFeatureFlags
!
operation. Read moresource§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