Set Vulkan Object with tags, which can be captured.
- Parameters
-
| [in] | type | The VkObjectType of Specific Vulkan Object. |
| [in] | handle | The handle of Specific Vulkan Object. |
| [in] | device | VkDevice. |
| [in] | captions | The Vulkan Object tags. |
Instance a VkDebugUtilsObjectNameInfoEXT.
Execute the function pointer.
Instance a VkDebugUtilsObjectNameInfoEXT.
Execute the function pointer.
Definition at line 145 of file VulkanDebugUtils.cpp.
151 {
153
157 VkDebugUtilsObjectTagInfoEXT tag_info{};
158 tag_info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT;
159 tag_info.objectType = type;
160 tag_info.objectHandle = handle;
161 tag_info.tagName = 0;
162 tag_info.tagSize = captions.size();
163 tag_info.pTag = captions.data();
164
169 }
#define SPICES_PROFILE_ZONE
#define VK_CHECK(expr)
Vulkan Check macro. Verify Vulkan API Effectiveness.
static VulkanState & GetState()
Get VulkanState in use.