MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / PushDebugGroup

Method PushDebugGroup

deps/LLGL/sources/Renderer/Vulkan/VKCommandBuffer.cpp:1029–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027/* ----- Debugging ----- */
1028
1029void VKCommandBuffer::PushDebugGroup(const char* name)
1030{
1031 if (HasExtension(VKExt::EXT_debug_marker))
1032 {
1033 VkDebugMarkerMarkerInfoEXT markerInfo;
1034 {
1035 markerInfo.sType = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT;
1036 markerInfo.pNext = nullptr;
1037 markerInfo.pMarkerName = name;
1038 markerInfo.color[0] = 0.0f;
1039 markerInfo.color[1] = 0.0f;
1040 markerInfo.color[2] = 0.0f;
1041 markerInfo.color[3] = 0.0f;
1042 }
1043 vkCmdDebugMarkerBeginEXT(commandBuffer_, &markerInfo);
1044 }
1045}
1046
1047void VKCommandBuffer::PopDebugGroup()
1048{

Callers 6

OnDrawFrameFunction · 0.45
OnDrawFrameMethod · 0.45
OnDrawFrameMethod · 0.45
OnDrawFrameMethod · 0.45
OnDrawFrameMethod · 0.45

Calls 1

HasExtensionFunction · 0.50

Tested by

no test coverage detected