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

Method cmd_begin_label

framework/core/hpp_debug.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void HPPDebugUtilsExtDebugUtils::cmd_begin_label(vk::CommandBuffer command_buffer, const char *name, glm::vec4 const color) const
40{
41 vk::DebugUtilsLabelEXT label_info{.pLabelName = name, .color = reinterpret_cast<std::array<float, 4> const &>(*&color[0])};
42 command_buffer.beginDebugUtilsLabelEXT(label_info);
43}
44
45void HPPDebugUtilsExtDebugUtils::cmd_end_label(vk::CommandBuffer command_buffer) const
46{

Callers 1

HPPScopedDebugLabelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected