Skip to main content

FontBatch32

The FontBatch32 struct represents a batch of UTF-32 encoded text to be rendered, with properties for positioning, color, and style. It includes constructors for setting the position and text, and optionally the font style.

#include <interface/TellusimTypes.h>

Constructors

FontBatch32()
FontBatch32(const Vector3f &position, const uint32_t *str)
FontBatch32(const Vector3f &position, const FontStyle *style, const uint32_t *str)

Variables

TypeNameValueDescription
Vector3fpositionVector3f::zeroFont position.
ColorcolorColor::whiteFont color.
FontStylestylenullptrFont style.
uint32_tstrnullptrFont text.