The type of pre-rendered texts.
Module OgamlGraphics.Text
Text renderingSubmodules
Fx | Advanced text rendering |
This module provides an efficient way to render text using openGL primitives.
Creates a drawable text from the given string.
Draws text on the screen.
The global advance of the text. Basically it is a vector such that if you add it to the position of text object, you get the position of the next character you would draw.
Returns a rectangle containing all the text.
Vertex array access
Outputs text vertices to a vertex array source.
This outputs triangles with UV coordinates, color and position attributes.
Use DrawMode.Triangles with this source and bind the correct font before use.
This outputs triangles with UV coordinates, color and position attributes.
Use DrawMode.Triangles with this source and bind the correct font before use.
Outputs text vertices to a vertex array source by mapping its vertices.
See
See
to_source
for more information.