Class VkImageFormatListCreateInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkImageFormatListCreateInfoKHR
    extends Struct
    implements NativeResource
    Specify that an image can be used with a particular set of formats.
    Description

    If viewFormatCount is zero, pViewFormats is ignored and the image is created as if the VkImageFormatListCreateInfoKHR structure were not included in the pNext list of VkImageCreateInfo.

    Valid Usage
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • viewFormatCount – the number of entries in the pViewFormats array.
    • pViewFormats – an array which lists of all formats which can be used when creating views of this image.

    Layout

    
     struct VkImageFormatListCreateInfoKHR {
         VkStructureType sType;
         void const * pNext;
         uint32_t viewFormatCount;
         VkFormat const * pViewFormats;
     }