Browse Source

doc: another day, another heap of Doxygen fun.

pull/371/head
Vladimír Vondruš 6 years ago
parent
commit
5b61f64a50
  1. 2
      src/Magnum/GL/Attribute.h
  2. 5
      src/Magnum/GL/PixelFormat.h
  3. 12
      src/Magnum/GL/TextureFormat.h

2
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

5
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

12
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})

Loading…
Cancel
Save