VKIMAGEVIEWTYPE(3)

NAME
VkImageViewType - Specifies the type of an image view object.

C SPECIFICATION

    typedef enum VkImageViewType {
        VK_IMAGE_VIEW_TYPE_1D = 0,
        VK_IMAGE_VIEW_TYPE_2D = 1,
        VK_IMAGE_VIEW_TYPE_3D = 2,
        VK_IMAGE_VIEW_TYPE_CUBE = 3,
        VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4,
        VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5,
        VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6,
    } VkImageViewType;

CONSTANTS

VK_IMAGE_VIEW_TYPE_1D
    One-dimensional image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_1D.

VK_IMAGE_VIEW_TYPE_2D
    Two-dimensional image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_2D.

VK_IMAGE_VIEW_TYPE_3D
    Three-dimensional image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_3D.

VK_IMAGE_VIEW_TYPE_CUBE
    Cube image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_2D that were created using the VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT creation flag.

VK_IMAGE_VIEW_TYPE_1D_ARRAY
    One-dimensional array image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_1D.

VK_IMAGE_VIEW_TYPE_2D_ARRAY
    Two-dimensional array image view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_2D.

VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
    Cube image array view type. Image views of this type can only be created from image objects of type VK_IMAGE_TYPE_2D that were created using the VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT creation flag.

DESCRIPTION

The constants of this enumeration are used to specify the type of an image view object created using the vkCreateImageView command.

SEE ALSO

VkImageViewCreateInfo, vkCreateImageView

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.