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;
pub struct DebugMarkerObjectNameInfoEXT {
s_type: vk::StructureType,
p_next: *const c_void,
object_type: vk::DebugReportObjectTypeEXT, // The type of the object
object: u64, // The handle of the object, cast to uint64_t
p_object_name: *const c_char, // Name to apply to the object
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.objectTypeis a VkDebugReportObjectTypeEXT specifying the type of the object to be named.objectis the object to be named.pObjectNameis a null-terminated UTF-8 string specifying the name to apply toobject.
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 an empty
string.
Valid Usage
VUID-VkDebugMarkerObjectNameInfoEXT-objectType-01490
objectType must not be
VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
VUID-VkDebugMarkerObjectNameInfoEXT-object-01491
object must not be VK_NULL_HANDLE
VUID-VkDebugMarkerObjectNameInfoEXT-object-01492
object must be a Vulkan object of the type associated with
objectType as defined in debug-report-object-types
Valid Usage (Implicit)
VUID-VkDebugMarkerObjectNameInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT
VUID-VkDebugMarkerObjectNameInfoEXT-pNext-pNext
pNext must be NULL
VUID-VkDebugMarkerObjectNameInfoEXT-objectType-parameter
objectType must be a valid VkDebugReportObjectTypeEXT value
VUID-VkDebugMarkerObjectNameInfoEXT-pObjectName-parameter
pObjectName must be a null-terminated UTF-8 string
Host Synchronization
- Host access to
objectmust be externally synchronized
Parent
VK_EXT_debug_markerType
Structures