MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / set_debug_name

Method set_debug_name

framework/core/debug.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace vkb
27{
28void DebugUtilsExtDebugUtils::set_debug_name(VkDevice device, VkObjectType object_type, uint64_t object_handle,
29 const char *name) const
30{
31 VkDebugUtilsObjectNameInfoEXT name_info{};
32 name_info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT;
33 name_info.objectType = object_type;
34 name_info.objectHandle = object_handle;
35 name_info.pObjectName = name;
36
37 assert(vkSetDebugUtilsObjectNameEXT);
38 vkSetDebugUtilsObjectNameEXT(device, &name_info);
39}
40
41void DebugUtilsExtDebugUtils::set_debug_tag(VkDevice device, VkObjectType object_type, uint64_t object_handle,
42 uint64_t tag_name, const void *tag_data, size_t tag_data_size) const

Callers 15

load_sceneMethod · 0.45
parse_samplerMethod · 0.45
GuiMethod · 0.45
update_buffersMethod · 0.45
BufferMethod · 0.45
ComputePipelineMethod · 0.45
GraphicsPipelineMethod · 0.45
create_vk_imageMethod · 0.45
create_vk_imageMethod · 0.45
render_shadow_passMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected