[][src]Struct ash::vk::FormatFeatureFlags

#[repr(transparent)]
pub struct FormatFeatureFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkFormatFeatureFlagBits.html

Methods

impl FormatFeatureFlags[src]

pub fn empty() -> FormatFeatureFlags[src]

pub fn all() -> FormatFeatureFlags[src]

pub fn from_raw(x: Flags) -> Self[src]

pub fn as_raw(self) -> Flags[src]

pub fn is_empty(self) -> bool[src]

pub fn is_all(self) -> bool[src]

pub fn intersects(self, other: FormatFeatureFlags) -> bool[src]

pub fn contains(self, other: FormatFeatureFlags) -> bool[src]

Returns whether other is a subset of self

impl FormatFeatureFlags[src]

pub const SAMPLED_IMAGE: Self[src]

Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)

pub const STORAGE_IMAGE: Self[src]

Format can be used for storage images (STORAGE_IMAGE descriptor type)

pub const STORAGE_IMAGE_ATOMIC: Self[src]

Format supports atomic operations in case it is used for storage images

pub const UNIFORM_TEXEL_BUFFER: Self[src]

Format can be used for uniform texel buffers (TBOs)

pub const STORAGE_TEXEL_BUFFER: Self[src]

Format can be used for storage texel buffers (IBOs)

pub const STORAGE_TEXEL_BUFFER_ATOMIC: Self[src]

Format supports atomic operations in case it is used for storage texel buffers

pub const VERTEX_BUFFER: Self[src]

Format can be used for vertex buffers (VBOs)

pub const COLOR_ATTACHMENT: Self[src]

Format can be used for color attachment images

pub const COLOR_ATTACHMENT_BLEND: Self[src]

Format supports blending in case it is used for color attachment images

pub const DEPTH_STENCIL_ATTACHMENT: Self[src]

Format can be used for depth/stencil attachment images

pub const BLIT_SRC: Self[src]

Format can be used as the source image of blits with vkCmdBlitImage

pub const BLIT_DST: Self[src]

Format can be used as the destination image of blits with vkCmdBlitImage

pub const SAMPLED_IMAGE_FILTER_LINEAR: Self[src]

Format can be filtered with VK_FILTER_LINEAR when being sampled

impl FormatFeatureFlags[src]

Generated from 'VK_IMG_filter_cubic'

pub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_27_KHR: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_28_KHR: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_25_KHR: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_26_KHR: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_EXT_sampler_filter_minmax'

pub const SAMPLED_IMAGE_FILTER_MINMAX_EXT: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_EXT_fragment_density_map'

pub const FRAGMENT_DENSITY_MAP_EXT: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const TRANSFER_SRC: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const TRANSFER_DST: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const MIDPOINT_CHROMA_SAMPLES: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const DISJOINT: Self[src]

impl FormatFeatureFlags[src]

Generated from 'VK_VERSION_1_1'

pub const COSITED_CHROMA_SAMPLES: Self[src]

Trait Implementations

impl Copy for FormatFeatureFlags[src]

impl Default for FormatFeatureFlags[src]

impl Eq for FormatFeatureFlags[src]

impl Clone for FormatFeatureFlags[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<FormatFeatureFlags> for FormatFeatureFlags[src]

impl PartialEq<FormatFeatureFlags> for FormatFeatureFlags[src]

impl Ord for FormatFeatureFlags[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Hash for FormatFeatureFlags[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for FormatFeatureFlags[src]

impl Sub<FormatFeatureFlags> for FormatFeatureFlags[src]

type Output = FormatFeatureFlags

The resulting type after applying the - operator.

impl SubAssign<FormatFeatureFlags> for FormatFeatureFlags[src]

impl Not for FormatFeatureFlags[src]

type Output = FormatFeatureFlags

The resulting type after applying the ! operator.

impl BitAnd<FormatFeatureFlags> for FormatFeatureFlags[src]

type Output = FormatFeatureFlags

The resulting type after applying the & operator.

impl BitOr<FormatFeatureFlags> for FormatFeatureFlags[src]

type Output = FormatFeatureFlags

The resulting type after applying the | operator.

impl BitXor<FormatFeatureFlags> for FormatFeatureFlags[src]

type Output = FormatFeatureFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<FormatFeatureFlags> for FormatFeatureFlags[src]

impl BitOrAssign<FormatFeatureFlags> for FormatFeatureFlags[src]

impl BitXorAssign<FormatFeatureFlags> for FormatFeatureFlags[src]

Auto Trait Implementations

impl Unpin for FormatFeatureFlags

impl Sync for FormatFeatureFlags

impl Send for FormatFeatureFlags

impl UnwindSafe for FormatFeatureFlags

impl RefUnwindSafe for FormatFeatureFlags

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]