Class VkDrmFormatModifierPropertiesList2EXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDrmFormatModifierPropertiesList2EXT>
org.lwjgl.vulkan.VkDrmFormatModifierPropertiesList2EXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkDrmFormatModifierPropertiesList2EXT extends org.lwjgl.system.Struct<VkDrmFormatModifierPropertiesList2EXT> implements org.lwjgl.system.NativeResource
Structure specifying the list of DRM format modifiers supported for a format.
Description

If pDrmFormatModifierProperties is NULL, the number of modifiers compatible with the queried format is returned in drmFormatModifierCount. 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.

Among the elements in array pDrmFormatModifierProperties, the bits reported in drmFormatModifierTilingFeatures must include the bits reported in the corresponding element of VkDrmFormatModifierPropertiesListEXT::pDrmFormatModifierProperties.

Valid Usage (Implicit)
See Also

VkDrmFormatModifierProperties2EXT

Layout


 struct VkDrmFormatModifierPropertiesList2EXT {
     VkStructureType sType();
     void * pNext();
     uint32_t drmFormatModifierCount();
     VkDrmFormatModifierProperties2EXT * pDrmFormatModifierProperties();
 }