#include <TextureFont.h>
cinder::gl::TextureFont::Format::Format |
( |
| ) |
|
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.
int32_t cinder::gl::TextureFont::Format::mTextureWidth |
|
protected |
int32_t cinder::gl::TextureFont::Format::mTextureHeight |
|
protected |
bool cinder::gl::TextureFont::Format::mPremultiply |
|
protected |
bool cinder::gl::TextureFont::Format::mMipmapping |
|
protected |
The documentation for this class was generated from the following file: