Browse Source

GL: doc++

pull/326/merge
Vladimír Vondruš 7 years ago
parent
commit
b75308560f
  1. 4
      src/Magnum/GL/AbstractShaderProgram.h
  2. 2
      src/Magnum/GL/Shader.h

4
src/Magnum/GL/AbstractShaderProgram.h

@ -796,7 +796,7 @@ class MAGNUM_GL_EXPORT AbstractShaderProgram: public AbstractObject {
#endif #endif
/** /**
* @brief Attach shader * @brief Attach a shader
* *
* @see @fn_gl_keyword{AttachShader} * @see @fn_gl_keyword{AttachShader}
*/ */
@ -812,7 +812,7 @@ class MAGNUM_GL_EXPORT AbstractShaderProgram: public AbstractObject {
void attachShaders(std::initializer_list<Containers::Reference<Shader>> shaders); void attachShaders(std::initializer_list<Containers::Reference<Shader>> shaders);
/** /**
* @brief Bind attribute to given location * @brief Bind an attribute to given location
* @param location Location * @param location Location
* @param name Attribute name * @param name Attribute name
* *

2
src/Magnum/GL/Shader.h

@ -596,7 +596,7 @@ class MAGNUM_GL_EXPORT Shader: public AbstractObject {
Shader& addSource(std::string source); Shader& addSource(std::string source);
/** /**
* @brief Add source file * @brief Add shader source file
* @param filename Name of source file to read from * @param filename Name of source file to read from
* @return Reference to self (for method chaining) * @return Reference to self (for method chaining)
* *

Loading…
Cancel
Save