VKIMAGECREATEFLAGS(3)

NAME
VkImageCreateFlags - Image object creation flags.

C SPECIFICATION

    typedef enum VkImageCreateFlagBits {
        VK_IMAGE_CREATE_SPARSE_BINDING_BIT = 0x00000001,
        VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002,
        VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = 0x00000004,
        VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 0x00000008,
        VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 0x00000010,
    } VkImageCreateFlagBits;

    typedef VkFlags VkImageCreateFlags;

CONSTANTS

VK_IMAGE_CREATE_SPARSE_BINDING_BIT
    Image objects created with this flag allow their contents to backed by sparse memory allocations using vkQueueBindSparse.

VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
    Image objects created with this flag allow their contents to be backed by a partially resident sparse memory allocation.

VK_IMAGE_CREATE_SPARSE_ALIASED_BIT
    Image objects created with this flag allow their contents to be backed by a sparse memory allocation that might also simultaneously be backing another image (or another portion of the image).

VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT
    Image objects created with this flag allow image view objects created from them to override the format of the image to any compatible format. Otherwise image view objects created from the image must match the format of the image object.

VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT
    Image objects created with this flag allow image view objects of type VK_IMAGE_VIEW_TYPE_CUBE to be created from. This flag is only allowed to be used if the image object’s type is VK_IMAGE_TYPE_2D.

DESCRIPTION

These flags are used in the VkImageCreateInfo structure passed as parameter to vkCreateImage to define the properties of the created image object.

SEE ALSO

VkImageCreateInfo, vkCreateImage

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.