createTexture
This required call creates the texture which the texture gets rendered into.
You can control both the resolution and the mipmapping behavior.
Arguments
| Argument |
Type |
Description |
| width |
|
|
| height |
|
|
| mipmaps |
|
|
init
Constructs a new text renderer with the given font name.
The font must be initialized from a .font definition file.
Arguments
| Argument |
Type |
Description |
| fontName |
|
|
renderText
No short description available
No long description available
Arguments
| Argument |
Type |
Description |
| text |
|
|
| bounds |
|
|
| color |
|
|
| justify |
|
|
| wrap |
|
|
| letterSpacing |
|
|
| lineSpacing |
|
|