Public Member Functions | Protected Attributes
cinder::gl::TextureFont::Format Class Reference

#include <TextureFont.h>

List of all members.

Public Member Functions

 Format ()
FormattextureWidth (int32_t textureWidth)
 Sets the width of the textures created internally for glyphs. Default 1024.
int32_t getTextureWidth () const
 Returns the width of the textures created internally for glyphs. Default 1024.
FormattextureHeight (int32_t textureHeight)
 Sets the height of the textures created internally for glyphs. Default 1024.
int32_t getTextureHeight () const
 Sets the height of the textures created internally for glyphs. Default 1024.
Formatpremultiply (bool premult=true)
 Sets whether the TextureFont render premultiplied output. Default false.
bool getPremultiply () const
 Returns whether the TextureFont renders premultiplied output. Default false.
FormatenableMipmapping (bool enable=true)
 Enables or disables mipmapping. Default is disabled.
bool hasMipmapping () const
 Returns whether the TextureFont texture has mipmapping enabled.

Protected Attributes

int32_t mTextureWidth
int32_t mTextureHeight
bool mPremultiply
bool mMipmapping

Constructor & Destructor Documentation


Member Function Documentation

Sets the width of the textures created internally for glyphs. Default 1024.

Returns the width of the textures created internally for glyphs. Default 1024.

Sets the height of the textures created internally for glyphs. Default 1024.

Sets the height of the textures created internally for glyphs. Default 1024.

Sets whether the TextureFont render premultiplied output. Default false.

Returns whether the TextureFont renders premultiplied output. Default false.

Enables or disables mipmapping. Default is disabled.

Returns whether the TextureFont texture has mipmapping enabled.


Member Data Documentation


The documentation for this class was generated from the following file: