Class VkImageViewUsageCreateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer
    Direct Known Subclasses:
    VkImageViewUsageCreateInfoKHR

    public class VkImageViewUsageCreateInfo
    extends Struct
    implements NativeResource
    Specify the intended usage of an image view.
    Description

    When this structure is chained to VkImageViewCreateInfo the usage field overrides the implicit usage parameter inherited from image creation time and its value is used instead for the purposes of determining the valid usage conditions of VkImageViewCreateInfo.

    Valid Usage
    • usage must not include any set bits that were not set in the usage member of the VkImageCreateInfo structure used to create the image this image view is created from.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • usage – a bitmask describing the allowed usages of the image view. See VkImageUsageFlagBits for a description of the supported bits.

    Layout

    
     struct VkImageViewUsageCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkImageUsageFlags usage;
     }