|
|
|
|
@ -66,6 +66,9 @@ class MAGNUM_TEXT_EXPORT DistanceFieldGlyphCache: public GlyphCache {
|
|
|
|
|
* desktop OpenGL requires @extension{ARB,texture_rg} (also part of |
|
|
|
|
* OpenGL ES 3.0), in ES2 uses @es_extension{EXT,texture_rg} if |
|
|
|
|
* available or @ref TextureFormat "TextureFormat::RGB" as fallback. |
|
|
|
|
* @todo Is Luminance format renderable anywhere? Also would it be |
|
|
|
|
* possible to convert the RGB texture to Luminance after it has |
|
|
|
|
* been rendered when blitting is not supported to save memory? |
|
|
|
|
*/ |
|
|
|
|
explicit DistanceFieldGlyphCache(const Vector2i& originalSize, const Vector2i& distanceFieldSize, UnsignedInt radius); |
|
|
|
|
|
|
|
|
|
|