|
|
|
|
@ -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: |
|
|
|
|
|