Struct pilka_ash::vk::ImageCreateFlags
source · [−]pub struct ImageCreateFlags(_);
Expand description
Implementations
sourceimpl ImageCreateFlags
impl ImageCreateFlags
pub const fn empty() -> ImageCreateFlags
pub const fn from_raw(x: u32) -> ImageCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ImageCreateFlags) -> bool
sourcepub const fn contains(self, other: ImageCreateFlags) -> bool
pub const fn contains(self, other: ImageCreateFlags) -> bool
Returns whether other
is a subset of self
sourceimpl ImageCreateFlags
impl ImageCreateFlags
sourcepub const SPARSE_BINDING: ImageCreateFlags = Self(1)
pub const SPARSE_BINDING: ImageCreateFlags = Self(1)
Image should support sparse backing
sourcepub const SPARSE_RESIDENCY: ImageCreateFlags = Self(2)
pub const SPARSE_RESIDENCY: ImageCreateFlags = Self(2)
Image should support sparse backing with partial residency
sourcepub const SPARSE_ALIASED: ImageCreateFlags = Self(4)
pub const SPARSE_ALIASED: ImageCreateFlags = Self(4)
Image should support constant data access to physical memory ranges mapped into multiple locations of sparse images
sourcepub const MUTABLE_FORMAT: ImageCreateFlags = Self(8)
pub const MUTABLE_FORMAT: ImageCreateFlags = Self(8)
Allows image views to have different format than the base image
sourcepub const CUBE_COMPATIBLE: ImageCreateFlags = Self(16)
pub const CUBE_COMPATIBLE: ImageCreateFlags = Self(16)
Allows creating image views with cube type from the created image
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_NV_corner_sampled_image’
pub const CORNER_SAMPLED_NV: ImageCreateFlags = Self(8192)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_device_group’
pub const SPLIT_INSTANCE_BIND_REGIONS_KHR: ImageCreateFlags = Self::SPLIT_INSTANCE_BIND_REGIONS
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_maintenance1’
pub const TYPE_2D_ARRAY_COMPATIBLE_KHR: ImageCreateFlags = Self::TYPE_2D_ARRAY_COMPATIBLE
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_maintenance2’
pub const BLOCK_TEXEL_VIEW_COMPATIBLE_KHR: ImageCreateFlags = Self::BLOCK_TEXEL_VIEW_COMPATIBLE
pub const EXTENDED_USAGE_KHR: ImageCreateFlags = Self::EXTENDED_USAGE
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_sample_locations’
pub const SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT: ImageCreateFlags = Self(4096)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const DISJOINT_KHR: ImageCreateFlags = Self::DISJOINT
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_bind_memory2’
pub const ALIAS_KHR: ImageCreateFlags = Self::ALIAS
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const SUBSAMPLED_EXT: ImageCreateFlags = Self(16384)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_AMD_extension_317’
pub const RESERVED_16_AMD: ImageCreateFlags = Self(65536)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_extension_377’
pub const RESERVED_18_EXT: ImageCreateFlags = Self(262144)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_extension_394’
pub const RESERVED_394_EXT: ImageCreateFlags = Self(131072)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_QCOM_fragment_density_map_offset’
pub const FRAGMENT_DENSITY_MAP_OFFSET_QCOM: ImageCreateFlags = Self(32768)
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_VERSION_1_1’
pub const ALIAS: ImageCreateFlags = Self(1024)
sourcepub const SPLIT_INSTANCE_BIND_REGIONS: ImageCreateFlags = Self(64)
pub const SPLIT_INSTANCE_BIND_REGIONS: ImageCreateFlags = Self(64)
Allows using VkBindImageMemoryDeviceGroupInfo::pSplitInstanceBindRegions when binding memory to the image
sourcepub const TYPE_2D_ARRAY_COMPATIBLE: ImageCreateFlags = Self(32)
pub const TYPE_2D_ARRAY_COMPATIBLE: ImageCreateFlags = Self(32)
The 3D image can be viewed as a 2D or 2D array image
pub const BLOCK_TEXEL_VIEW_COMPATIBLE: ImageCreateFlags = Self(128)
pub const EXTENDED_USAGE: ImageCreateFlags = Self(256)
sourcepub const PROTECTED: ImageCreateFlags = Self(2048)
pub const PROTECTED: ImageCreateFlags = Self(2048)
Image requires protected memory
pub const DISJOINT: ImageCreateFlags = Self(512)
Trait Implementations
sourceimpl BitAnd<ImageCreateFlags> for ImageCreateFlags
impl BitAnd<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
&
operator.sourcefn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
&
operation. Read moresourceimpl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
impl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitand_assign(&mut self, rhs: ImageCreateFlags)
fn bitand_assign(&mut self, rhs: ImageCreateFlags)
&=
operation. Read moresourceimpl BitOr<ImageCreateFlags> for ImageCreateFlags
impl BitOr<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
|
operator.sourcefn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
|
operation. Read moresourceimpl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
impl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitor_assign(&mut self, rhs: ImageCreateFlags)
fn bitor_assign(&mut self, rhs: ImageCreateFlags)
|=
operation. Read moresourceimpl BitXor<ImageCreateFlags> for ImageCreateFlags
impl BitXor<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
^
operator.sourcefn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
^
operation. Read moresourceimpl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
impl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitxor_assign(&mut self, rhs: ImageCreateFlags)
fn bitxor_assign(&mut self, rhs: ImageCreateFlags)
^=
operation. Read moresourceimpl Clone for ImageCreateFlags
impl Clone for ImageCreateFlags
sourcefn clone(&self) -> ImageCreateFlags
fn clone(&self) -> ImageCreateFlags
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for ImageCreateFlags
impl Debug for ImageCreateFlags
sourceimpl Default for ImageCreateFlags
impl Default for ImageCreateFlags
sourcefn default() -> ImageCreateFlags
fn default() -> ImageCreateFlags
sourceimpl Hash for ImageCreateFlags
impl Hash for ImageCreateFlags
sourceimpl Not for ImageCreateFlags
impl Not for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
!
operator.sourcefn not(self) -> ImageCreateFlags
fn not(self) -> ImageCreateFlags
!
operation. Read moresourceimpl Ord for ImageCreateFlags
impl Ord for ImageCreateFlags
sourcefn cmp(&self, other: &ImageCreateFlags) -> Ordering
fn cmp(&self, other: &ImageCreateFlags) -> 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<ImageCreateFlags> for ImageCreateFlags
impl PartialEq<ImageCreateFlags> for ImageCreateFlags
sourcefn eq(&self, other: &ImageCreateFlags) -> bool
fn eq(&self, other: &ImageCreateFlags) -> bool
sourceimpl PartialOrd<ImageCreateFlags> for ImageCreateFlags
impl PartialOrd<ImageCreateFlags> for ImageCreateFlags
sourcefn partial_cmp(&self, other: &ImageCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageCreateFlags) -> 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