Structures

VkLayerProperties

Structure specifying layer properties

The VkLayerProperties structure is defined as:

typedef struct VkLayerProperties {
    char layerName[VK_MAX_EXTENSION_NAME_SIZE];
    uint32_t specVersion;
    uint32_t implementationVersion;
    char description[VK_MAX_DESCRIPTION_SIZE];
} VkLayerProperties;
  • layerName is an array of VK_MAX_EXTENSION_NAME_SIZE
    char containing a null-terminated UTF-8 string which is the name of the layer. Use this name in the ppEnabledLayerNames array passed in the VkInstanceCreateInfo structure to enable this layer for an instance.
  • specVersion is the Vulkan version the layer was written to, encoded as described in Version Numbers.
  • implementationVersion is the version of this layer. It is an integer, increasing with backward compatible changes.
  • description is an array of VK_MAX_DESCRIPTION_SIZE char containing a null-terminated UTF-8 string which provides additional details that can be used by the application to identify the layer.