Structures
VkDebugMarkerObjectTagInfoEXT
Specify parameters of a tag to attach to an object
The VkDebugMarkerObjectTagInfoEXT structure is defined as:
typedef struct VkDebugMarkerObjectTagInfoEXT {
VkStructureType sType;
const void* pNext;
VkDebugReportObjectTypeEXT objectType;
uint64_t object;
uint64_t tagName;
size_t tagSize;
const void* pTag;
} VkDebugMarkerObjectTagInfoEXT;
pub struct DebugMarkerObjectTagInfoEXT {
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
tag_name: u64, // The name of the tag to set on the object
tag_size: usize, // The length in bytes of the tag data
p_tag: *const c_void, // Tag data to attach 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 tagged.tagNameis a numerical identifier of the tag.tagSizeis the number of bytes of data to attach to the object.pTagis a pointer to an array oftagSizebytes containing the data to be associated with the object.
The tagName parameter gives a name or identifier to the type of data
being tagged.
This can be used by debugging layers to easily filter for only data that can
be used by that implementation.
Valid Usage
VUID-VkDebugMarkerObjectTagInfoEXT-objectType-01493
objectType must not be
VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
VUID-VkDebugMarkerObjectTagInfoEXT-object-01494
object must not be VK_NULL_HANDLE
VUID-VkDebugMarkerObjectTagInfoEXT-object-01495
object must be a Vulkan object of the type associated with
objectType as defined in debug-report-object-types
Valid Usage (Implicit)
VUID-VkDebugMarkerObjectTagInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT
VUID-VkDebugMarkerObjectTagInfoEXT-pNext-pNext
pNext must be NULL
VUID-VkDebugMarkerObjectTagInfoEXT-objectType-parameter
objectType must be a valid VkDebugReportObjectTypeEXT value
VUID-VkDebugMarkerObjectTagInfoEXT-pTag-parameter
pTag must be a valid pointer to an array of tagSize bytes
VUID-VkDebugMarkerObjectTagInfoEXT-tagSize-arraylength
tagSize must be greater than 0
Host Synchronization
- Host access to
objectmust be externally synchronized
Parent
VK_EXT_debug_markerType
Structures