Struct pilka_ash::vk::ImageUsageFlags
source · [−]pub struct ImageUsageFlags(_);
Expand description
Implementations
sourceimpl ImageUsageFlags
impl ImageUsageFlags
pub const fn empty() -> ImageUsageFlags
pub const fn from_raw(x: u32) -> ImageUsageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ImageUsageFlags) -> bool
sourcepub const fn contains(self, other: ImageUsageFlags) -> bool
pub const fn contains(self, other: ImageUsageFlags) -> bool
Returns whether other
is a subset of self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
sourcepub const TRANSFER_SRC: ImageUsageFlags = Self(1)
pub const TRANSFER_SRC: ImageUsageFlags = Self(1)
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: ImageUsageFlags = Self(2)
pub const TRANSFER_DST: ImageUsageFlags = Self(2)
Can be used as a destination of transfer operations
sourcepub const SAMPLED: ImageUsageFlags = Self(4)
pub const SAMPLED: ImageUsageFlags = Self(4)
Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const STORAGE: ImageUsageFlags = Self(8)
pub const STORAGE: ImageUsageFlags = Self(8)
Can be used as storage image (STORAGE_IMAGE descriptor type)
sourcepub const COLOR_ATTACHMENT: ImageUsageFlags = Self(16)
pub const COLOR_ATTACHMENT: ImageUsageFlags = Self(16)
Can be used as framebuffer color attachment
sourcepub const DEPTH_STENCIL_ATTACHMENT: ImageUsageFlags = Self(32)
pub const DEPTH_STENCIL_ATTACHMENT: ImageUsageFlags = Self(32)
Can be used as framebuffer depth/stencil attachment
sourcepub const TRANSIENT_ATTACHMENT: ImageUsageFlags = Self(64)
pub const TRANSIENT_ATTACHMENT: ImageUsageFlags = Self(64)
Image data not needed outside of rendering
sourcepub const INPUT_ATTACHMENT: ImageUsageFlags = Self(128)
pub const INPUT_ATTACHMENT: ImageUsageFlags = Self(128)
Can be used as framebuffer input attachment
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_DST_KHR: ImageUsageFlags = Self(1024)
pub const VIDEO_DECODE_SRC_KHR: ImageUsageFlags = Self(2048)
pub const VIDEO_DECODE_DPB_KHR: ImageUsageFlags = Self(4096)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_IMAGE_NV: ImageUsageFlags = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_extension_173’
pub const RESERVED_16_QCOM: ImageUsageFlags = Self(65536)
pub const RESERVED_17_QCOM: ImageUsageFlags = Self(131072)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: ImageUsageFlags = Self(512)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: ImageUsageFlags = Self(256)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_INTEL_extension_271’
pub const RESERVED_22_EXT: ImageUsageFlags = Self(4194304)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: ImageUsageFlags = Self(8192)
pub const VIDEO_ENCODE_SRC_KHR: ImageUsageFlags = Self(16384)
pub const VIDEO_ENCODE_DPB_KHR: ImageUsageFlags = Self(32768)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_extension_340’
pub const RESERVED_19_EXT: ImageUsageFlags = Self(524288)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_HUAWEI_invocation_mask’
pub const INVOCATION_MASK_HUAWEI: ImageUsageFlags = Self(262144)
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_extension_441’
pub const RESERVED_20_QCOM: ImageUsageFlags = Self(1048576)
pub const RESERVED_21_QCOM: ImageUsageFlags = Self(2097152)
Trait Implementations
sourceimpl BitAnd<ImageUsageFlags> for ImageUsageFlags
impl BitAnd<ImageUsageFlags> for ImageUsageFlags
type Output = ImageUsageFlags
type Output = ImageUsageFlags
&
operator.sourcefn bitand(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitand(self, rhs: ImageUsageFlags) -> ImageUsageFlags
&
operation. Read moresourceimpl BitAndAssign<ImageUsageFlags> for ImageUsageFlags
impl BitAndAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitand_assign(&mut self, rhs: ImageUsageFlags)
fn bitand_assign(&mut self, rhs: ImageUsageFlags)
&=
operation. Read moresourceimpl BitOr<ImageUsageFlags> for ImageUsageFlags
impl BitOr<ImageUsageFlags> for ImageUsageFlags
type Output = ImageUsageFlags
type Output = ImageUsageFlags
|
operator.sourcefn bitor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
|
operation. Read moresourceimpl BitOrAssign<ImageUsageFlags> for ImageUsageFlags
impl BitOrAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitor_assign(&mut self, rhs: ImageUsageFlags)
fn bitor_assign(&mut self, rhs: ImageUsageFlags)
|=
operation. Read moresourceimpl BitXor<ImageUsageFlags> for ImageUsageFlags
impl BitXor<ImageUsageFlags> for ImageUsageFlags
type Output = ImageUsageFlags
type Output = ImageUsageFlags
^
operator.sourcefn bitxor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitxor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
^
operation. Read moresourceimpl BitXorAssign<ImageUsageFlags> for ImageUsageFlags
impl BitXorAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitxor_assign(&mut self, rhs: ImageUsageFlags)
fn bitxor_assign(&mut self, rhs: ImageUsageFlags)
^=
operation. Read moresourceimpl Clone for ImageUsageFlags
impl Clone for ImageUsageFlags
sourcefn clone(&self) -> ImageUsageFlags
fn clone(&self) -> ImageUsageFlags
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for ImageUsageFlags
impl Debug for ImageUsageFlags
sourceimpl Default for ImageUsageFlags
impl Default for ImageUsageFlags
sourcefn default() -> ImageUsageFlags
fn default() -> ImageUsageFlags
sourceimpl Hash for ImageUsageFlags
impl Hash for ImageUsageFlags
sourceimpl Not for ImageUsageFlags
impl Not for ImageUsageFlags
type Output = ImageUsageFlags
type Output = ImageUsageFlags
!
operator.sourcefn not(self) -> ImageUsageFlags
fn not(self) -> ImageUsageFlags
!
operation. Read moresourceimpl Ord for ImageUsageFlags
impl Ord for ImageUsageFlags
sourcefn cmp(&self, other: &ImageUsageFlags) -> Ordering
fn cmp(&self, other: &ImageUsageFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<ImageUsageFlags> for ImageUsageFlags
impl PartialEq<ImageUsageFlags> for ImageUsageFlags
sourcefn eq(&self, other: &ImageUsageFlags) -> bool
fn eq(&self, other: &ImageUsageFlags) -> bool
sourceimpl PartialOrd<ImageUsageFlags> for ImageUsageFlags
impl PartialOrd<ImageUsageFlags> for ImageUsageFlags
sourcefn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more