[][src]Struct bedrock::resources::ImageFlags

pub struct ImageFlags(pub VkImageCreateFlags);

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]

impl Copy for ImageFlags[src]

impl Debug for ImageFlags[src]

impl Eq for ImageFlags[src]

impl PartialEq<ImageFlags> for ImageFlags[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.