Cleanup stuff in #2019
This commit is contained in:
@@ -93,6 +93,7 @@ API_CLASS(NoSpawn) class FLAXENGINE_API FontAsset : public BinaryAsset
|
||||
{
|
||||
DECLARE_BINARY_ASSET_HEADER(FontAsset, 3);
|
||||
friend Font;
|
||||
|
||||
private:
|
||||
FT_Face _face;
|
||||
FontOptions _options;
|
||||
@@ -175,7 +176,7 @@ public:
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Check if the font contains the glyph of a char
|
||||
/// Check if the font contains the glyph of a char.
|
||||
/// </summary>
|
||||
/// <param name="c">The char to test.</param>
|
||||
/// <returns>True if the font contains the glyph of the char, otherwise false.</returns>
|
||||
@@ -186,6 +187,10 @@ public:
|
||||
/// </summary>
|
||||
API_FUNCTION() void Invalidate();
|
||||
|
||||
public:
|
||||
// [BinaryAsset]
|
||||
uint64 GetMemoryUsage() const override;
|
||||
|
||||
protected:
|
||||
// [BinaryAsset]
|
||||
bool init(AssetInitData& initData) override;
|
||||
|
||||
Reference in New Issue
Block a user