Browse Source

Doc: Using @relates for texture internal format operator|.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
ce09e50e05
  1. 11
      src/AbstractTexture.h
  2. 8
      src/BufferedTexture.h
  3. 8
      src/Renderbuffer.h

11
src/AbstractTexture.h

@ -568,13 +568,16 @@ class MAGNUM_EXPORT AbstractTexture {
GLuint texture;
};
/** @brief Convertor of component count and data type to InternalFormat */
/** @relates AbstractTexture
@brief Convertor of component count and data type to InternalFormat
*/
inline AbstractTexture::InternalFormat operator|(AbstractTexture::Components components, AbstractTexture::ComponentType type) {
return AbstractTexture::InternalFormat(components, type);
}
/** @brief Convertor of component count and data type to InternalFormat */
/** @relates AbstractTexture
* @overload
*/
inline AbstractTexture::InternalFormat operator|(AbstractTexture::ComponentType type, AbstractTexture::Components components) {
return AbstractTexture::InternalFormat(components, type);
}

8
src/BufferedTexture.h

@ -148,11 +148,15 @@ class BufferedTexture {
GLuint texture;
};
/** @copydoc operator|(AbstractTexture::Components, AbstractTexture::ComponentType) */
/** @relates BufferedTexture
@brief Convertor of component count and data type to InternalFormat
*/
inline BufferedTexture::InternalFormat operator|(BufferedTexture::Components components, BufferedTexture::ComponentType type) {
return BufferedTexture::InternalFormat(components, type);
}
/** @copydoc operator|(AbstractTexture::ComponentType, AbstractTexture::Components) */
/** @relates BufferedTexture
* @overload
*/
inline BufferedTexture::InternalFormat operator|(BufferedTexture::ComponentType type, BufferedTexture::Components components) {
return BufferedTexture::InternalFormat(components, type);
}

8
src/Renderbuffer.h

@ -146,11 +146,15 @@ class Renderbuffer {
GLuint renderbuffer;
};
/** @copydoc operator|(AbstractTexture::Components, AbstractTexture::ComponentType) */
/** @relates Renderbuffer
@brief Convertor of component count and data type to InternalFormat
*/
inline Renderbuffer::InternalFormat operator|(Renderbuffer::Components components, Renderbuffer::ComponentType type) {
return Renderbuffer::InternalFormat(components, type);
}
/** @copydoc operator|(AbstractTexture::ComponentType, AbstractTexture::Components) */
/** @relates Renderbuffer
* @overload
*/
inline Renderbuffer::InternalFormat operator|(Renderbuffer::ComponentType type, Renderbuffer::Components components) {
return Renderbuffer::InternalFormat(components, type);
}

Loading…
Cancel
Save