MCPcopy Create free account
hub / github.com/comaps/comaps / Set

Method Set

libs/drape/vulkan/vulkan_utils.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void DebugName::Set(VkObjectType type, uint64_t handle, char const * name)
32{
33 if (vkSetDebugUtilsObjectNameEXT == nullptr)
34 return;
35
36 VkDebugUtilsObjectNameInfoEXT const info = {.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT,
37 .pNext = nullptr,
38 .objectType = type,
39 .objectHandle = handle,
40 .pObjectName = name};
41 CHECK_VK_CALL(vkSetDebugUtilsObjectNameEXT(m_device, &info));
42}
43
44std::string GetVulkanResultString(VkResult result)
45{

Callers

nothing calls this directly

Calls 1

SetStateByteFunction · 0.85

Tested by

no test coverage detected