cinder::gl::TextureFont::Format Class Reference
#include <TextureFont.h>
List of all members.
Constructor & Destructor Documentation
cinder::gl::TextureFont::Format::Format |
( |
|
) |
|
Member Function Documentation
Format& cinder::gl::TextureFont::Format::textureWidth |
( |
int32_t |
textureWidth |
) |
|
Sets the width of the textures created internally for glyphs. Default 1024
.
int32_t cinder::gl::TextureFont::Format::getTextureWidth |
( |
|
) |
const |
Returns the width of the textures created internally for glyphs. Default 1024
.
Format& cinder::gl::TextureFont::Format::textureHeight |
( |
int32_t |
textureHeight |
) |
|
Sets the height of the textures created internally for glyphs. Default 1024
.
int32_t cinder::gl::TextureFont::Format::getTextureHeight |
( |
|
) |
const |
Sets the height of the textures created internally for glyphs. Default 1024
.
Format& cinder::gl::TextureFont::Format::premultiply |
( |
bool |
premult = true |
) |
|
Sets whether the TextureFont render premultiplied output. Default false
.
bool cinder::gl::TextureFont::Format::getPremultiply |
( |
|
) |
const |
Returns whether the TextureFont renders premultiplied output. Default false
.
Format& cinder::gl::TextureFont::Format::enableMipmapping |
( |
bool |
enable = true |
) |
|
Enables or disables mipmapping. Default is disabled.
bool cinder::gl::TextureFont::Format::hasMipmapping |
( |
|
) |
const |
Returns whether the TextureFont texture has mipmapping enabled.
Member Data Documentation
The documentation for this class was generated from the following file: