C Specification

// Provided by VK_EXT_debug_utils
VkResult vkSetDebugUtilsObjectNameEXT(
    VkDevice                                    device,
    const VkDebugUtilsObjectNameInfoEXT*        pNameInfo);


  • device is the device that created the object.

  • pNameInfo is a pointer to a VkDebugUtilsObjectNameInfoEXT structure specifying parameters of the name to set on the object.


Valid Usage
  • pNameInfo->objectType must not be VK_OBJECT_TYPE_UNKNOWN

  • pNameInfo->objectHandle must not be VK_NULL_HANDLE

Valid Usage (Implicit)
Host Synchronization
  • Host access to pNameInfo->objectHandle must be externally synchronized

Return Codes
On success, this command returns

On failure, this command returns


See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2020 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0