TextTexture

A texture of text.

Constructors

this
this(FontFace face, dstring text)

Creates text texture from FontFace and text.

Members

Functions

placeGlyphs
vec2i placeGlyphs(Glyph[dchar] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
renderBitmap
BitmapA renderBitmap(Glyph[dchar] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

chars
chars [@property getter]

Metrics data of characters drawn this texture.

Static functions

renderGlyphs
Glyph[dchar] renderGlyphs(FontFace face, dstring text)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Metrics
struct Metrics

A metrics data of characters.

Variables

_chars
Metrics[dchar] _chars;
Undocumented in source.

Inherited Members

From Tex2D

resizeBitmapPower2
auto resizeBitmapPower2(B bmp)
Undocumented in source. Be warned that the author may not have intended to support it.
target
GLenum target [@property getter]
overwrite
void overwrite(B bmp, vec2i offset)

Modifies the texture.

Meta