Browse Source

TextureTools: completed documentation review.

pull/54/merge
Vladimír Vondruš 12 years ago
parent
commit
6ef3f72d2e
  1. 2
      src/Magnum/TextureTools/Atlas.h
  2. 5
      src/Magnum/TextureTools/DistanceField.h

2
src/Magnum/TextureTools/Atlas.h

@ -26,7 +26,7 @@
*/ */
/** @file /** @file
* @brief Function Magnum::TextureTools::atlas() * @brief Function @ref Magnum::TextureTools::atlas()
*/ */
#include <vector> #include <vector>

5
src/Magnum/TextureTools/DistanceField.h

@ -26,7 +26,7 @@
*/ */
/** @file /** @file
* @brief Function Magnum::TextureTools::distanceField() * @brief Function @ref Magnum::TextureTools::distanceField()
*/ */
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
@ -45,7 +45,8 @@ namespace Magnum { namespace TextureTools {
@param rectangle Rectangle in output texture where to render @param rectangle Rectangle in output texture where to render
@param radius Max lookup radius in input texture @param radius Max lookup radius in input texture
@param imageSize Input texture size. Needed only in OpenGL ES, in desktop @param imageSize Input texture size. Needed only in OpenGL ES, in desktop
OpenGL the information is gathered automatically using Texture::imageSize(). OpenGL the information is gathered automatically using
@ref Texture2D::imageSize().
Converts binary image (stored in red channel of @p input) to signed distance Converts binary image (stored in red channel of @p input) to signed distance
field (stored in red channel in @p rectangle of @p output). The purpose of this field (stored in red channel in @p rectangle of @p output). The purpose of this

Loading…
Cancel
Save