![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontCache.h>
Public Member Functions | |
| FSdfGlyphEntryKey (const TWeakPtr< FFreeTypeFace > InFontFace, uint32 InGlyphIndex, ESlateFontAtlasContentType InAtlasContentType, int32 InPpem, float InEmOuterSpread, float InEmInnerSpread) | |
| bool | operator== (const FSdfGlyphEntryKey &Other) const |
| bool | operator!= (const FSdfGlyphEntryKey &Other) const |
Public Attributes | |
| const TWeakPtr< FFreeTypeFace > | FontFace |
| const uint32 | GlyphIndex |
| const ESlateFontAtlasContentType | AtlasContentType |
| const int32 | Ppem |
| const int32 | SpreadCategory |
Friends | |
| uint32 | GetTypeHash (const FSdfGlyphEntryKey &Key) |
Minimal FSdfGlyphEntryKey key information used for map lookups
| FSdfGlyphEntryKey::FSdfGlyphEntryKey | ( | const TWeakPtr< FFreeTypeFace > | InFontFace, |
| uint32 | InGlyphIndex, | ||
| ESlateFontAtlasContentType | InAtlasContentType, | ||
| int32 | InPpem, | ||
| float | InEmOuterSpread, | ||
| float | InEmInnerSpread | ||
| ) |
|
inline |
|
inline |
|
friend |
| const ESlateFontAtlasContentType FSdfGlyphEntryKey::AtlasContentType |
Type of glyph pixel content
| const TWeakPtr<FFreeTypeFace> FSdfGlyphEntryKey::FontFace |
Weak pointer to the FreeType face to render with
| const uint32 FSdfGlyphEntryKey::GlyphIndex |
The index of this glyph in the FreeType face
| const int32 FSdfGlyphEntryKey::Ppem |
The pixel size at which the sdf glyph is generated
| const int32 FSdfGlyphEntryKey::SpreadCategory |
The spread category. The spreads of a glyph entry can be arbitrary but similar values will share the same category and therefore glyph entry