findFontByName

AssetManagerInterface::findFontByName

Returns the font associated with the name.

Declaration

virtual Font* findFontByName(const std::string& fontName) = 0;

Parameters

Name

Type

Description

fontName

const std::string&

The name of the Font.

Returns

A pointer to a Font if the name is associated with a font, else, returns nullptr.