#[repr(transparent)]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
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
impl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitand_assign(&mut self, rhs: ImageCreateFlags)
fn bitand_assign(&mut self, rhs: ImageCreateFlags)
Performs the &= operation. Read more
sourceimpl BitOr<ImageCreateFlags> for ImageCreateFlags
impl BitOr<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
impl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitor_assign(&mut self, rhs: ImageCreateFlags)
fn bitor_assign(&mut self, rhs: ImageCreateFlags)
Performs the |= operation. Read more
sourceimpl BitXor<ImageCreateFlags> for ImageCreateFlags
impl BitXor<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
impl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitxor_assign(&mut self, rhs: ImageCreateFlags)
fn bitxor_assign(&mut self, rhs: ImageCreateFlags)
Performs the ^= operation. Read more
sourceimpl Clone for ImageCreateFlags
impl Clone for ImageCreateFlags
sourcefn clone(&self) -> ImageCreateFlags
fn clone(&self) -> ImageCreateFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageCreateFlags
impl Debug for ImageCreateFlags
sourceimpl Default for ImageCreateFlags
impl Default for ImageCreateFlags
sourcefn default() -> ImageCreateFlags
fn default() -> ImageCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageCreateFlags
impl Hash for ImageCreateFlags
sourceimpl Not for ImageCreateFlags
impl Not for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> ImageCreateFlags
fn not(self) -> ImageCreateFlags
Performs the unary ! operation. Read more
sourceimpl Ord for ImageCreateFlags
impl Ord for ImageCreateFlags
sourceimpl PartialEq<ImageCreateFlags> for ImageCreateFlags
impl PartialEq<ImageCreateFlags> for ImageCreateFlags
sourcefn eq(&self, other: &ImageCreateFlags) -> bool
fn eq(&self, other: &ImageCreateFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ImageCreateFlags) -> bool
fn ne(&self, other: &ImageCreateFlags) -> bool
This method tests for !=.
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>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for ImageCreateFlags
impl Eq for ImageCreateFlags
impl StructuralEq for ImageCreateFlags
impl StructuralPartialEq for ImageCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for ImageCreateFlags
impl Send for ImageCreateFlags
impl Sync for ImageCreateFlags
impl Unpin for ImageCreateFlags
impl UnwindSafe for ImageCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more