TextTexture

A texture of text.

Constructors

this
this(FontFace face, dstring text)

Creates text texture from FontFace and text.

Members

Functions

renderBitmap
BitmapA renderBitmap(FontFace face, dstring text)
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.

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