![]() |
FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
|
This class is a wrapper for the font manager to allow easy manipulation. More...
#include <C_font.hpp>
Public Types | |
using | SharedDataType |
using | SharedType |
Public Member Functions | |
virtual void | clear () |
Clear the resource. | |
void | reload () |
Reload the cached resource from the same name. | |
bool | valid () const |
Check if the font is valid (not unloaded) | |
SharedDataType const & | getSharedBlock () const |
Get the resource block data. | |
SharedType const & | getSharedData () const |
Get the shared resource data. | |
std::string const & | getName () const |
Get the name of the resource. | |
manager::GlobalDataAccessorManagerInfo< font::FontManager, &font::gManager >::Manager::DataType * | retrieve () |
Retrieve the raw shared pointer from the current resource. | |
manager::GlobalDataAccessorManagerInfo< font::FontManager, &font::gManager >::Manager::DataType const * | retrieve () const |
This class is a wrapper for the font manager to allow easy manipulation.
|
virtualinherited |
Clear the resource.
This method clear the resource by setting it to the default/bad "valid" resource.
|
nodiscardinherited |
Get the name of the resource.
|
nodiscardinherited |
Get the resource block data.
|
nodiscardinherited |
Get the shared resource data.
|
inherited |
Reload the cached resource from the same name.
|
nodiscardinherited |
Retrieve the raw shared pointer from the current resource.
|
nodiscardinherited |
Check if the font is valid (not unloaded)