TextRenderer

* Class holding basic text rendering methods. * It contains references to the TextSystem and Scene. * It implements IRenderable service.

Constructors

this
this(TextSystem system, Scene scene)

* Create and initialize text renderer using a TextSystem reference and a Scene reference.

Members

Functions

render
void render(Scene scene)

* Render all text elements to the screen.

render
typeof(this) render(Text text)

* Render a text entity by its reference. * Returns reference to this so it can be used in a stream.

Inherited Members

From IRenderable

render
void render(Scene scene)

* Called every frame to render the scene entity.

Meta