Struct screen_13::prelude::vk::ImageCreateFlags
source · pub struct ImageCreateFlags(/* private fields */);
Expand description
Implementations§
source§impl 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
source§impl ImageCreateFlags
impl ImageCreateFlags
sourcepub const SPARSE_BINDING: ImageCreateFlags = _
pub const SPARSE_BINDING: ImageCreateFlags = _
Image should support sparse backing
sourcepub const SPARSE_RESIDENCY: ImageCreateFlags = _
pub const SPARSE_RESIDENCY: ImageCreateFlags = _
Image should support sparse backing with partial residency
sourcepub const SPARSE_ALIASED: ImageCreateFlags = _
pub const SPARSE_ALIASED: ImageCreateFlags = _
Image should support constant data access to physical memory ranges mapped into multiple locations of sparse images
sourcepub const MUTABLE_FORMAT: ImageCreateFlags = _
pub const MUTABLE_FORMAT: ImageCreateFlags = _
Allows image views to have different format than the base image
sourcepub const CUBE_COMPATIBLE: ImageCreateFlags = _
pub const CUBE_COMPATIBLE: ImageCreateFlags = _
Allows creating image views with cube type from the created image
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_NV_corner_sampled_image’
pub const CORNER_SAMPLED_NV: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_device_group’
pub const SPLIT_INSTANCE_BIND_REGIONS_KHR: ImageCreateFlags = Self::SPLIT_INSTANCE_BIND_REGIONS
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_maintenance1’
pub const TYPE_2D_ARRAY_COMPATIBLE_KHR: ImageCreateFlags = Self::TYPE_2D_ARRAY_COMPATIBLE
source§impl 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
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_sample_locations’
pub const SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const DISJOINT_KHR: ImageCreateFlags = Self::DISJOINT
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_bind_memory2’
pub const ALIAS_KHR: ImageCreateFlags = Self::ALIAS
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const SUBSAMPLED_EXT: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_extension_259’
pub const RESERVED_19_EXT: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_descriptor_buffer’
pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_multisampled_render_to_single_sampled’
pub const MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_EXT: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_image_2d_view_of_3d’
sourcepub const TYPE_2D_VIEW_COMPATIBLE_EXT: ImageCreateFlags = _
pub const TYPE_2D_VIEW_COMPATIBLE_EXT: ImageCreateFlags = _
Image is created with a layout where individual slices are capable of being used as 2D images
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_QCOM_fragment_density_map_offset’
pub const FRAGMENT_DENSITY_MAP_OFFSET_QCOM: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_KHR_extension_516’
pub const RESERVED_20_KHR: ImageCreateFlags = _
source§impl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_VERSION_1_1’
pub const ALIAS: ImageCreateFlags = _
sourcepub const SPLIT_INSTANCE_BIND_REGIONS: ImageCreateFlags = _
pub const SPLIT_INSTANCE_BIND_REGIONS: ImageCreateFlags = _
Allows using VkBindImageMemoryDeviceGroupInfo::pSplitInstanceBindRegions when binding memory to the image
sourcepub const TYPE_2D_ARRAY_COMPATIBLE: ImageCreateFlags = _
pub const TYPE_2D_ARRAY_COMPATIBLE: ImageCreateFlags = _
The 3D image can be viewed as a 2D or 2D array image
pub const BLOCK_TEXEL_VIEW_COMPATIBLE: ImageCreateFlags = _
pub const EXTENDED_USAGE: ImageCreateFlags = _
sourcepub const PROTECTED: ImageCreateFlags = _
pub const PROTECTED: ImageCreateFlags = _
Image requires protected memory
pub const DISJOINT: ImageCreateFlags = _
Trait Implementations§
source§impl BitAnd for ImageCreateFlags
impl BitAnd for ImageCreateFlags
§type Output = ImageCreateFlags
type Output = ImageCreateFlags
&
operator.source§fn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
&
operation. Read moresource§impl BitAndAssign for ImageCreateFlags
impl BitAndAssign for ImageCreateFlags
source§fn bitand_assign(&mut self, rhs: ImageCreateFlags)
fn bitand_assign(&mut self, rhs: ImageCreateFlags)
&=
operation. Read moresource§impl BitOr for ImageCreateFlags
impl BitOr for ImageCreateFlags
§type Output = ImageCreateFlags
type Output = ImageCreateFlags
|
operator.source§fn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
|
operation. Read moresource§impl BitOrAssign for ImageCreateFlags
impl BitOrAssign for ImageCreateFlags
source§fn bitor_assign(&mut self, rhs: ImageCreateFlags)
fn bitor_assign(&mut self, rhs: ImageCreateFlags)
|=
operation. Read moresource§impl BitXor for ImageCreateFlags
impl BitXor for ImageCreateFlags
§type Output = ImageCreateFlags
type Output = ImageCreateFlags
^
operator.source§fn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
^
operation. Read moresource§impl BitXorAssign for ImageCreateFlags
impl BitXorAssign for ImageCreateFlags
source§fn bitxor_assign(&mut self, rhs: ImageCreateFlags)
fn bitxor_assign(&mut self, rhs: ImageCreateFlags)
^=
operation. Read moresource§impl Clone for ImageCreateFlags
impl Clone for ImageCreateFlags
source§fn clone(&self) -> ImageCreateFlags
fn clone(&self) -> ImageCreateFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageCreateFlags
impl Debug for ImageCreateFlags
source§impl Default for ImageCreateFlags
impl Default for ImageCreateFlags
source§fn default() -> ImageCreateFlags
fn default() -> ImageCreateFlags
source§impl Hash for ImageCreateFlags
impl Hash for ImageCreateFlags
source§impl Not for ImageCreateFlags
impl Not for ImageCreateFlags
§type Output = ImageCreateFlags
type Output = ImageCreateFlags
!
operator.source§fn not(self) -> ImageCreateFlags
fn not(self) -> ImageCreateFlags
!
operation. Read moresource§impl Ord for ImageCreateFlags
impl Ord for ImageCreateFlags
source§fn cmp(&self, other: &ImageCreateFlags) -> Ordering
fn cmp(&self, other: &ImageCreateFlags) -> 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 ImageCreateFlags
impl PartialEq for ImageCreateFlags
source§fn eq(&self, other: &ImageCreateFlags) -> bool
fn eq(&self, other: &ImageCreateFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageCreateFlags
impl PartialOrd for ImageCreateFlags
source§fn partial_cmp(&self, other: &ImageCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageCreateFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImageCreateFlags
impl Eq 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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
.§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
.§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.§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.