Class VkDrmFormatModifierPropertiesListEXT

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

    public class VkDrmFormatModifierPropertiesListEXT
    extends Struct
    implements NativeResource
    Structure specifying the list of DRM format modifiers supported for a format.
    Description

    If pDrmFormatModifierProperties is NULL, then the function returns in drmFormatModifierCount the number of modifiers compatible with the queried format. Otherwise, the application must set drmFormatModifierCount to the length of the array pDrmFormatModifierProperties; the function will write at most drmFormatModifierCount elements to the array, and will return in drmFormatModifierCount the number of elements written.

    Among the elements in array pDrmFormatModifierProperties, each returned drmFormatModifier must be unique.

    Valid Usage (Implicit)
    See Also

    VkDrmFormatModifierPropertiesEXT

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • drmFormatModifierCount – an inout parameter related to the number of modifiers compatible with the format, as described below.
    • pDrmFormatModifierProperties – either NULL or an array of VkDrmFormatModifierPropertiesEXT structures.

    Layout

    
     struct VkDrmFormatModifierPropertiesListEXT {
         VkStructureType sType;
         void * pNext;
         uint32_t drmFormatModifierCount;
         VkDrmFormatModifierPropertiesEXT * pDrmFormatModifierProperties;
     }