Debug Groups

In a large, complex application, you may have many subsystems rendering various parts of the scene. For example, you may render the world, dynamic and animated objects, special effects and particle systems, user interfaces, or post processing. At any given moment, it is likely that you’ll be concentrating your attention on just one of these elements. You may be debugging issues or concentrating on performance. It is likely that you’ll want to turn on very verbose debug message reporting for the sections of code you’re working on while leaving debug messages only at their most concise levels for code that you’ve already debugged. To do this, you will need to turn certain categories of messages on and off and to restore the debug ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.