Structures

VkDebugMarkerObjectNameInfoEXT

Specify parameters of a name to give to an object

The VkDebugMarkerObjectNameInfoEXT structure is defined as:

typedef struct VkDebugMarkerObjectNameInfoEXT {
    VkStructureType sType;
    const void* pNext;
    VkDebugReportObjectTypeEXT objectType;
    uint64_t object;
    const char* pObjectName;
} VkDebugMarkerObjectNameInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • objectType is a VkDebugReportObjectTypeEXT specifying the type of the object to be named.
  • object is the object to be named.
  • pObjectName is a null-terminated UTF-8 string specifying the name to apply to object.

Applications may change the name associated with an object simply by calling vkDebugMarkerSetObjectNameEXT again with a new string. To remove a previously set name, pObjectName should be set to an empty string.

Valid Usage

VUID-VkDebugMarkerObjectNameInfoEXT-objectType-01490

objectType must not be VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT

VUID-VkDebugMarkerObjectNameInfoEXT-object-01492

object must be a Vulkan object of the type associated with objectType as defined in Table 1. VkDebugReportObjectTypeEXT and Vulkan Handle Relationship

Valid Usage (Implicit)

VUID-VkDebugMarkerObjectNameInfoEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT

VUID-VkDebugMarkerObjectNameInfoEXT-pObjectName-parameter

pObjectName must be a null-terminated UTF-8 string