Struct kiss3d::text::TextRenderer [] [src]

pub struct TextRenderer { /* fields omitted */ }

A ttf text renderer.

Methods

impl TextRenderer
[src]

Creates a new text renderer with font as the default font.

Adds a piece of text to be drawn during the next frame. The text is not persistent between frames. This method must be called for each text to draw, and at each update loop iteration.

Actually draws the text.