0

I'm using CodeXL to debug my OpenGL app. I'm pausing the app in CodeXL and looking through the texture list. That works fine but the textures in the list are named only like "Texture <some_number_here>". I want to programatically assign names to the textures so they're easier to browse. Is this possible?

I've googled and found glObjectLabel but this requires OpenGL 4.3 and I only have access to 3.0 on this PC. I could try to install better drivers to get access to higher versions but before I mess with that, I'd like a confirmation that glObjectLabel will help for my case (for CodeXL, and it would be nice if it's supported by other GPU debuggers too).

4

0 回答 0