From 5b61f64a501304292e08ad6690ac14586f75fffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 26 Feb 2020 10:20:02 +0100 Subject: [PATCH] doc: another day, another heap of Doxygen fun. --- src/Magnum/GL/Attribute.h | 2 +- src/Magnum/GL/PixelFormat.h | 5 +++-- src/Magnum/GL/TextureFormat.h | 12 ++++++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/Magnum/GL/Attribute.h b/src/Magnum/GL/Attribute.h index c6f37c277..ae497691d 100644 --- a/src/Magnum/GL/Attribute.h +++ b/src/Magnum/GL/Attribute.h @@ -474,7 +474,7 @@ class DynamicAttribute { #ifdef MAGNUM_BUILD_DEPRECATED /** * Half float. - * @m_deprecated_since_latest Use @ref Half instead. + * @m_deprecated_since_latest Use @ref DataType::Half instead. */ HalfFloat CORRADE_DEPRECATED_ENUM("use Half instead") = Half, #endif diff --git a/src/Magnum/GL/PixelFormat.h b/src/Magnum/GL/PixelFormat.h index 93adddbcb..22efcc7a2 100644 --- a/src/Magnum/GL/PixelFormat.h +++ b/src/Magnum/GL/PixelFormat.h @@ -409,7 +409,8 @@ enum class PixelType: GLenum { /** * Each component half float. - * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @see @ref Magnum::Half "Half", @ref Math::packHalf(), + * @ref Math::unpackHalf() * @m_since_latest * @requires_gl30 Extension @gl_extension{ARB,half_float_pixel} * @requires_gles30 Extension @gl_extension2{OES,texture_half_float,OES_texture_float} @@ -434,7 +435,7 @@ enum class PixelType: GLenum { #ifdef MAGNUM_BUILD_DEPRECATED /** * Half float. - * @m_deprecated_since_latest Use @ref PixelFormat::Half instead. + * @m_deprecated_since_latest Use @ref PixelType::Half instead. */ HalfFloat CORRADE_DEPRECATED_ENUM("use Half instead") = Half, #endif diff --git a/src/Magnum/GL/TextureFormat.h b/src/Magnum/GL/TextureFormat.h index cb9ee93a9..1db011a4b 100644 --- a/src/Magnum/GL/TextureFormat.h +++ b/src/Magnum/GL/TextureFormat.h @@ -662,7 +662,8 @@ enum class TextureFormat: GLenum { /** * Red component, half float. - * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @see @ref Magnum::Half "Half", @ref Math::packHalf(), + * @ref Math::unpackHalf() * @requires_gl30 Extension @gl_extension{ARB,texture_rg} and @gl_extension{ARB,texture_float} * @requires_gles30 Use @ref TextureFormat::Red / @ref TextureFormat::Luminance * in combination with @ref PixelType::Half @@ -689,7 +690,8 @@ enum class TextureFormat: GLenum { /** * Red and green component, each half float. - * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @see @ref Magnum::Half "Half", @ref Math::packHalf(), + * @ref Math::unpackHalf() * @requires_gl30 Extension @gl_extension{ARB,texture_rg} and @gl_extension{ARB,texture_float} * @requires_gles30 Use @ref TextureFormat::RG / @ref TextureFormat::LuminanceAlpha * in combination with @ref PixelType::Half @@ -716,7 +718,8 @@ enum class TextureFormat: GLenum { /** * RGB, each component half float. - * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @see @ref Magnum::Half "Half", @ref Math::packHalf(), + * @ref Math::unpackHalf() * @requires_gl30 Extension @gl_extension{ARB,texture_float} * @requires_gles30 Use @ref TextureFormat::RGB in combination with * @ref PixelType::Half (@gl_extension2{OES,texture_half_float,OES_texture_float}) @@ -736,7 +739,8 @@ enum class TextureFormat: GLenum { /** * RGBA, each component half float. - * @see @ref Half, @ref Math::packHalf(), @ref Math::unpackHalf() + * @see @ref Magnum::Half "Half", @ref Math::packHalf(), + * @ref Math::unpackHalf() * @requires_gl30 Extension @gl_extension{ARB,texture_float} * @requires_gles30 Use @ref TextureFormat::RGBA in combination with * @ref PixelType::Half (@gl_extension2{OES,texture_half_float,OES_texture_float})