MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / debugAnnotationPush

Method debugAnnotationPush

RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp:2484–2495  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2482 void VulkanRenderSystem::markProfileEvent( const String &event ) {}
2483 //-------------------------------------------------------------------------
2484 void VulkanRenderSystem::debugAnnotationPush( const String &event )
2485 {
2486#if OGRE_DEBUG_MODE >= OGRE_DEBUG_MEDIUM
2487 if( !CmdBeginDebugUtilsLabelEXT )
2488 return; // VK_EXT_debug_utils not available
2489 VkCommandBuffer cmdBuffer = mActiveDevice->mGraphicsQueue.mCurrentCmdBuffer;
2490 VkDebugUtilsLabelEXT markerInfo;
2491 makeVkStruct( markerInfo, VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT );
2492 markerInfo.pLabelName = event.c_str();
2493 CmdBeginDebugUtilsLabelEXT( cmdBuffer, &markerInfo );
2494#endif
2495 }
2496 //-------------------------------------------------------------------------
2497 void VulkanRenderSystem::debugAnnotationPop()
2498 {

Callers 7

runBounceMethod · 0.45
updateMethod · 0.45
clearVoxelsMethod · 0.45
buildMethod · 0.45
buildRelativeMethod · 0.45
profilingBeginMethod · 0.45

Calls 2

makeVkStructFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected