Structures

VkPhysicalDeviceLayeredApiPropertiesKHR

Structure describing a single layered implementation underneath the Vulkan physical device

The VkPhysicalDeviceLayeredApiPropertiesKHR structure is defined as:

typedef struct VkPhysicalDeviceLayeredApiPropertiesKHR {
    VkStructureType sType;
    void* pNext;
    uint32_t vendorID;
    uint32_t deviceID;
    VkPhysicalDeviceLayeredApiKHR layeredAPI;
    char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];
} VkPhysicalDeviceLayeredApiPropertiesKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • vendorID is a unique identifier for the vendor of the layered implementation.
  • deviceID is a unique identifier for the layered implementation among devices available from the vendor.
  • layeredAPI is a VkPhysicalDeviceLayeredApiKHR specifying the API implemented by the layered implementation.
  • deviceName is an array of VK_MAX_PHYSICAL_DEVICE_NAME_SIZE
    char containing a null-terminated UTF-8 string which is the name of the device.

If layeredAPI is VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR, additional Vulkan-specific information can be queried by including the VkPhysicalDeviceLayeredApiVulkanPropertiesKHR structure in the pNext chain. Otherwise if such a structure is included in the pNext chain, it is ignored.

Valid Usage (Implicit)

VUID-VkPhysicalDeviceLayeredApiPropertiesKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR

VUID-VkPhysicalDeviceLayeredApiPropertiesKHR-sType-unique

The sType value of each struct in the pNext chain must be unique