Closed scheibel closed 10 years ago
OpenGL provides two functions to set debug names for OpenGL objects https://www.opengl.org/sdk/docs/man/html/glObjectLabel.xhtml https://www.opengl.org/sdk/docs/man/html/glObjectPtrLabel.xhtml
These can be used if available instead of storing an std::string on the glo::Object superclass.
It seems as if glObjectLabelEXT and glObjectPtrLabelEXT are defined in GL_EXT_debug_label and glObjectLabel and glObjectPtrLabel are defined in GL_KHR_debug (but are officially introduced in GL_ARB_debug_label).
OpenGL provides two functions to set debug names for OpenGL objects https://www.opengl.org/sdk/docs/man/html/glObjectLabel.xhtml https://www.opengl.org/sdk/docs/man/html/glObjectPtrLabel.xhtml
These can be used if available instead of storing an std::string on the glo::Object superclass.