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
Generated from ‘VK_IMG_filter_cubic’
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
Generated from ‘VK_KHR_video_decode_queue’
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
Generated from ‘VK_KHR_maintenance1’
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
Generated from ‘VK_EXT_sampler_filter_minmax’
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
Generated from ‘VK_KHR_acceleration_structure’
impl FormatFeatureFlags
Generated from ‘VK_KHR_acceleration_structure’
Source§impl FormatFeatureFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
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
Generated from ‘VK_EXT_filter_cubic’
impl FormatFeatureFlags
Generated from ‘VK_EXT_filter_cubic’
Source§impl FormatFeatureFlags
Generated from ‘VK_EXT_fragment_density_map’
impl FormatFeatureFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: FormatFeatureFlags
Source§impl FormatFeatureFlags
Generated from ‘VK_KHR_fragment_shading_rate’
impl FormatFeatureFlags
Generated from ‘VK_KHR_fragment_shading_rate’
Source§impl FormatFeatureFlags
Generated from ‘VK_KHR_video_encode_queue’
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
Generated from ‘VK_VERSION_1_1’
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
Generated from ‘VK_VERSION_1_2’
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
Source§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
Source§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
Source§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
Source§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§impl PartialOrd for FormatFeatureFlags
impl PartialOrd for FormatFeatureFlags
impl Copy for FormatFeatureFlags
impl Eq for FormatFeatureFlags
impl StructuralPartialEq for FormatFeatureFlags
Auto Trait Implementations§
impl Freeze for FormatFeatureFlags
impl RefUnwindSafe for FormatFeatureFlags
impl Send for FormatFeatureFlags
impl Sync for FormatFeatureFlags
impl Unpin for FormatFeatureFlags
impl UnwindSafe for FormatFeatureFlags
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.