Browse Source

TgaImporter, TgaImageConverter: doc++

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
23eeca3ed0
  1. 4
      src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h
  2. 4
      src/MagnumPlugins/TgaImporter/TgaImporter.h

4
src/MagnumPlugins/TgaImageConverter/TgaImageConverter.h

@ -52,8 +52,8 @@ namespace Magnum { namespace Trade {
@brief TGA image converter plugin
Supports images with format @ref ColorFormat::RGB, @ref ColorFormat::RGBA or
@ref ColorFormat::Red (or @ref ColorFormat::Luminance in OpenGL ES 2.0) and
type @ref ColorType::UnsignedByte.
@ref ColorFormat::Red (or @ref ColorFormat::Luminance in OpenGL ES 2.0 and
WebGL 1.0) and type @ref ColorType::UnsignedByte.
This plugin is built if `WITH_TGAIMAGECONVERTER` is enabled when building
Magnum. To use dynamic plugin, you need to load `TgaImageConverter` plugin

4
src/MagnumPlugins/TgaImporter/TgaImporter.h

@ -65,8 +65,8 @@ package in CMake and link to `${MAGNUM_TGAIMPORTER_LIBRARIES}`. See
The images are imported with @ref ColorType::UnsignedByte and @ref ColorFormat::RGB,
@ref ColorFormat::RGBA or @ref ColorFormat::Red, respectively. Grayscale images
require extension @extension{ARB,texture_rg}. In OpenGL ES 2.0, if
@es_extension{EXT,texture_rg} is not supported, grayscale images use
@ref ColorFormat::Luminance instead of @ref ColorFormat::Red.
@es_extension{EXT,texture_rg} is not supported and in WebGL 1.0, grayscale
images use @ref ColorFormat::Luminance instead of @ref ColorFormat::Red.
*/
class MAGNUM_TGAIMPORTER_EXPORT TgaImporter: public AbstractImporter {
public:

Loading…
Cancel
Save