Structures

VkDebugUtilsLabelEXT

Specify parameters of a label region

The VkDebugUtilsLabelEXT structure is defined as:

typedef struct VkDebugUtilsLabelEXT {
    VkStructureType sType;
    const void* pNext;
    const char* pLabelName;
    float color[4];
} VkDebugUtilsLabelEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • pLabelName is a pointer to a null-terminated UTF-8 string containing the name of the label.
  • color is an optional RGBA color value that can be associated with the label. A particular implementation may choose to ignore this color value. The values contain RGBA values in order, in the range 0.0 to 1.0. If all elements in color are 0.0, then it is ignored.

Valid Usage (Implicit)

VUID-VkDebugUtilsLabelEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT

VUID-VkDebugUtilsLabelEXT-pLabelName-parameter

pLabelName must be a null-terminated UTF-8 string