PixiBitmapFontManager loads fnt/xml files (using
fetch), from the "bitmapFont" resources of the game.
It installs the "BitmapFont" with PixiJS to be used with PIXI.BitmapText.
Get the instance of the default
Pixi.BitmapFont, always available.
Return the kind of resources handled by this manager.
Load the "bitmapFont" resources of the game, so that they are ready
to be used when
obtainBitmapFont is called.
Given a bitmap font resource name and a texture atlas resource name, returns the PIXI.BitmapFont
The font is register and should be released with
releaseBitmapFont - so that it can be removed
from memory when unused.
Process the specified resource.
This method will only be run while loading screen is shown. It can do heavy tasks like parsing data.
When a font is not used by an object anymore (object destroyed or font changed), call this function to decrease the internal count of objects using the font.
When a font is not unused anymore, it goes in a temporary cache. The cache holds up to 10 fonts. If the cache reaches its maximum capacity, the oldest font is uninstalled from memory.
Name of the font of the BitmapFont (
Generated using TypeDoc