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

pub struct ImageFlags(pub VkImageCreateFlags);

Bitmask specifying additional parameters of an image

Methods

impl ImageFlags
[src]

EMPTY: Self = ImageFlags(0)

Empty bits

SPARSE_BINDING: Self = ImageFlags(VK_IMAGE_CREATE_SPARSE_BINDING_BIT)

The image will be backed using sparse memory binding

SPARSE_RESIDENCY: Self = ImageFlags(VK_IMAGE_CREATE_SPARSE_BINDING_BIT |
               VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT)

The image can be partially backed using sparse memory binding. This bit is with SPARSE_BINDING implicitly

SPARSE_ALIASED: Self = ImageFlags(VK_IMAGE_CREATE_SPARSE_BINDING_BIT |
               VK_IMAGE_CREATE_SPARSE_ALIASED_BIT)

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

MUTABLE_FORMAT: Self = ImageFlags(VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT)

The image can be used to create a ImageView with a different format from the image

CUBE_COMPATIBLE: Self = ImageFlags(VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT)

The image can be used to create a ImageView of type ImageViewType::Cube or ImageViewType::CubeArray

[src]

The image will be backed using sparse memory binding

[src]

The image can be partially backed using sparse memory binding. This bit is with SPARSE_BINDING implicitly

[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

[src]

The image can be used to create a ImageView with a different format from the image

[src]

The image can be used to create a ImageView of type ImageViewType::Cube or ImageViewType::CubeArray

Trait Implementations

impl Debug for ImageFlags
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ImageFlags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ImageFlags
[src]

impl PartialEq for ImageFlags
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ImageFlags
[src]

Auto Trait Implementations

impl Send for ImageFlags

impl Sync for ImageFlags