0

E.g. I want all GL calls between point A and point B to be nested in a section called "Gaussianblur" in RenderDoc.

Stefan Monov
  • 11,332
  • 10
  • 63
  • 120

1 Answers1

0

Found the answer here:

https://renderdoc.org/docs/window/event_browser.html

glPushDebugGroupKHR(GL_DEBUG_SOURCE_APPLICATION, 0, -1, "Begin Section");

// contents of section here

glPopDebugGroupKHR();

Stefan Monov
  • 11,332
  • 10
  • 63
  • 120