![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
Interface for getting font instances using font instance ids. More...
#include <IFontAccessor.h>
Public Member Functions | |
virtual | ~IFontAccessor ()=default |
Empty destructor. More... | |
virtual IFontInstance * | getFontInstance (FontInstanceId fontInstanceId) const =0 |
Gets a font instance object using font instance id. More... | |
Interface for getting font instances using font instance ids.
This interface allows overriding the standard Freetype/Harfbuzz logic to create and access fonts and e.g. replace with other implementations, or just override behavior/settings. Can be also used to pre-load font instances and a predefined set of glyphs statically (or load from file).
|
virtualdefault |
Empty destructor.
|
pure virtual |
Gets a font instance object using font instance id.
[in] | fontInstanceId | The id of font instance |
Implemented in ramses::FontRegistry.