Class VkPhysicalDeviceImageDrmFormatModifierInfoEXT

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

    public class VkPhysicalDeviceImageDrmFormatModifierInfoEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying a DRM format modifier as image creation parameter.
    Description

    If the drmFormatModifier is incompatible with the parameters specified in VkPhysicalDeviceImageFormatInfo2 and its pNext chain, then GetPhysicalDeviceImageFormatProperties2 returns ERROR_FORMAT_NOT_SUPPORTED. The implementation must support the query of any drmFormatModifier, including unknown and invalid modifier values.

    Valid Usage
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • drmFormatModifier – the image’s Linux DRM format modifier, corresponding to VkImageDrmFormatModifierExplicitCreateInfoEXT::modifier or to VkImageDrmFormatModifierListCreateInfoEXT::pModifiers.
    • sharingMode – specifies how the image will be accessed by multiple queue families.
    • queueFamilyIndexCount – the number of entries in the pQueueFamilyIndices array.
    • pQueueFamilyIndices – a list of queue families that will access the image (ignored if sharingMode is not SHARING_MODE_CONCURRENT).

    Layout

    
     struct VkPhysicalDeviceImageDrmFormatModifierInfoEXT {
         VkStructureType sType;
         void const * pNext;
         uint64_t drmFormatModifier;
         VkSharingMode sharingMode;
         uint32_t queueFamilyIndexCount;
         uint32_t const * pQueueFamilyIndices;
     }