[−][src]Struct bedrock::resources::ImageFlags
Bitmask specifying additional parameters of an image
Methods
impl ImageFlags
[src]
pub const EMPTY: Self
[src]
Empty bits
pub const SPARSE_BINDING: Self
[src]
The image will be backed using sparse memory binding
pub const SPARSE_RESIDENCY: Self
[src]
The image can be partially backed using sparse memory binding. This bit is with SPARSE_BINDING
implicitly
pub const SPARSE_ALIASED: Self
[src]
The image will be backed using sparse memory binding with memory ranges
that might also simultaneously be backing another image. This bit is with SPARSE_BINDING
implicitly
pub const MUTABLE_FORMAT: Self
[src]
The image can be used to create a ImageView
with a different format from the image
pub const CUBE_COMPATIBLE: Self
[src]
The image can be used to create a ImageView
of type ImageViewType::Cube
or ImageViewType::CubeArray
pub fn sparse_binding(self) -> Self
[src]
The image will be backed using sparse memory binding
pub fn sparse_residency(self) -> Self
[src]
The image can be partially backed using sparse memory binding. This bit is with SPARSE_BINDING
implicitly
pub fn sparse_aliased(self) -> Self
[src]
The image will be backed using sparse memory binding with memory ranges
that might also simultaneously be backing another image. This bit is with SPARSE_BINDING
implicitly
pub fn mutable_format(self) -> Self
[src]
The image can be used to create a ImageView
with a different format from the image
pub fn cube_compatible(self) -> Self
[src]
The image can be used to create a ImageView
of type ImageViewType::Cube
or ImageViewType::CubeArray
Trait Implementations
impl Clone for ImageFlags
[src]
fn clone(&self) -> ImageFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ImageFlags
[src]
impl Debug for ImageFlags
[src]
impl Eq for ImageFlags
[src]
impl PartialEq<ImageFlags> for ImageFlags
[src]
fn eq(&self, other: &ImageFlags) -> bool
[src]
fn ne(&self, other: &ImageFlags) -> bool
[src]
impl StructuralEq for ImageFlags
[src]
impl StructuralPartialEq for ImageFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageFlags
impl Send for ImageFlags
impl Sync for ImageFlags
impl Unpin for ImageFlags
impl UnwindSafe for ImageFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,