queueText
Queues a single line of text for rendering at the specified position with the given font and settings.
The method calculates glyph positions and writes vertex data to the provided vertex buffer, handling kerning, tracking, and other text layout properties. This operation does not perform rendering itself but prepares the text data for eventual rendering.
Parameters
The font map containing the metrics and glyph information necessary for text rendering.
The string to be queued for rendering.
The x-coordinate of the starting position for the text.
The y-coordinate of the starting position for the text.
The additional spacing to apply between characters, in pixels. Defaults to 0.0.
The kerning mode, determining how character spacing is adjusted based on metrics.
The text setting mode, determining the precision of text rendering (e.g., pixel or subpixel).
The vertex buffer to which the text's vertex data will be written.