|
|
|
@ -513,10 +513,10 @@ class MAGNUM_EXPORT AbstractShaderProgram: public AbstractObject { |
|
|
|
* |
|
|
|
* |
|
|
|
* The result is *not* cached, repeated queries will result in repeated |
|
|
|
* The result is *not* cached, repeated queries will result in repeated |
|
|
|
* OpenGL calls. If neither @extension{KHR,debug} nor |
|
|
|
* OpenGL calls. If neither @extension{KHR,debug} nor |
|
|
|
* @extension{EXT,debug_label} desktop or ES extension is available, |
|
|
|
* @extension2{EXT,debug_label} desktop or ES extension is available, |
|
|
|
* this function returns empty string. |
|
|
|
* this function returns empty string. |
|
|
|
* @see @fn_gl{GetObjectLabel} with @def_gl{PROGRAM} or |
|
|
|
* @see @fn_gl{GetObjectLabel} with @def_gl{PROGRAM} or |
|
|
|
* @fn_gl_extension{GetObjectLabel,EXT,object_label} with |
|
|
|
* @fn_gl_extension2{GetObjectLabel,EXT,debug_label} with |
|
|
|
* @def_gl{PROGRAM_OBJECT_EXT} |
|
|
|
* @def_gl{PROGRAM_OBJECT_EXT} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
std::string label() const; |
|
|
|
std::string label() const; |
|
|
|
@ -526,10 +526,10 @@ class MAGNUM_EXPORT AbstractShaderProgram: public AbstractObject { |
|
|
|
* @return Reference to self (for method chaining) |
|
|
|
* @return Reference to self (for method chaining) |
|
|
|
* |
|
|
|
* |
|
|
|
* Default is empty string. If neither @extension{KHR,debug} nor |
|
|
|
* Default is empty string. If neither @extension{KHR,debug} nor |
|
|
|
* @extension{EXT,debug_label} desktop or ES extension is available, |
|
|
|
* @extension2{EXT,debug_label} desktop or ES extension is available, |
|
|
|
* this function does nothing. |
|
|
|
* this function does nothing. |
|
|
|
* @see @ref maxLabelLength(), @fn_gl{ObjectLabel} with |
|
|
|
* @see @ref maxLabelLength(), @fn_gl{ObjectLabel} with |
|
|
|
* @def_gl{PROGRAM} or @fn_gl_extension{LabelObject,EXT,object_label} |
|
|
|
* @def_gl{PROGRAM} or @fn_gl_extension2{LabelObject,EXT,debug_label} |
|
|
|
* with @def_gl{PROGRAM_OBJECT_EXT} |
|
|
|
* with @def_gl{PROGRAM_OBJECT_EXT} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
AbstractShaderProgram& setLabel(const std::string& label); |
|
|
|
AbstractShaderProgram& setLabel(const std::string& label); |
|
|
|
|