MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / SetObjectName

Method SetObjectName

libraries/ZVulkan/src/vulkandevice.cpp:151–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void VulkanDevice::SetObjectName(const char* name, uint64_t handle, VkObjectType type)
152{
153 if (!DebugLayerActive) return;
154
155 VkDebugUtilsObjectNameInfoEXT info = {};
156 info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT;
157 info.objectHandle = handle;
158 info.objectType = type;
159 info.pObjectName = name;
160 vkSetDebugUtilsObjectNameEXT(device, &info);
161}

Callers 15

SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80
SetDebugNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected