Castor3D 0.16.0
Multiplatform 3D engine
|
#include <Font.hpp>
Public Member Functions | |
CU_API | BinaryLoader ()=default |
Constructor. | |
CU_API bool | operator() (Font &font, Path const &path, uint32_t height) |
Loads a font. | |
Public Member Functions inherited from castor::BinaryLoader< Font > | |
BinaryLoader ()=default | |
Constructor. | |
~BinaryLoader () noexcept override=default | |
Destructor. | |
Public Member Functions inherited from castor::Loader< T, FT > | |
Loader ()=default | |
Constructor. | |
virtual | ~Loader () noexcept=default |
Destructor. | |
virtual bool | operator() (T &object, Type &file) |
Reads a resource from a file. | |
Additional Inherited Members | |
Protected Types inherited from castor::BinaryLoader< Font > | |
using | Type |
Protected Types inherited from castor::Loader< T, FT > | |
using | Type = typename FileTyper< FT >::Type |
Protected Member Functions inherited from castor::NonMovable | |
NonMovable ()=default | |
Constructor. | |
~NonMovable () noexcept=default | |
Destructor. | |
Font loader.
|
default |
Constructor.
CU_API bool castor::Font::BinaryLoader::operator() | ( | Font & | font, |
Path const & | path, | ||
uint32_t | height ) |
Loads a font.
[in,out] | font | The font to load |
[in] | path | The path of the font file |
[in] | height | The font precision |