Function Prototype
vkSetDebugUtilsObjectTagEXT
Attach arbitrary data to an object
VkResult vkSetDebugUtilsObjectTagEXT(
VkDevice device,
const VkDebugUtilsObjectTagInfoEXT* pTagInfo);
pub fn set_debug_utils_object_tag_ext(
device: vk::Device,
p_tag_info: *const vk::DebugUtilsObjectTagInfoEXT,
) -> vk::Result;
deviceis the device that created the object.pTagInfois a pointer to a VkDebugUtilsObjectTagInfoEXT structure specifying parameters of the tag to attach to the object.
Valid Usage
VUID-vkSetDebugUtilsObjectTagEXT-pNameInfo-07875
If pNameInfo→objectHandle is the valid handle of an
instance-level object, the VkDevice identified by devicemust be a descendent of the same VkInstance as the object
identified by pNameInfo→objectHandle
VUID-vkSetDebugUtilsObjectTagEXT-pNameInfo-07876
If pNameInfo→objectHandle is the valid handle of a
physical-device-level object, the VkDevice identified by
device must be a descendant of the same VkPhysicalDevice as
the object identified by pNameInfo→objectHandle
VUID-vkSetDebugUtilsObjectTagEXT-pNameInfo-07877
If pNameInfo→objectHandle is the valid handle of a device-level
object, that object must be a descendent of the VkDevice
identified by device
Valid Usage (Implicit)
VUID-vkSetDebugUtilsObjectTagEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkSetDebugUtilsObjectTagEXT-pTagInfo-parameter
pTagInfo must be a valid pointer to a valid VkDebugUtilsObjectTagInfoEXT structure
Parent
VK_EXT_debug_utilsType
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED