Navigation
API > API/Runtime > API/Runtime/SlateCore
Minimal FSdfGlyphEntryKey key information used for map lookups
| Name | FSdfGlyphEntryKey |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
Syntax
struct FSdfGlyphEntryKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSdfGlyphEntryKey
(
const TWeakPtr< FFreeTypeFace > InFontFace, |
Fonts/FontCache.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AtlasContentType | const ESlateFontAtlasContentType | Type of glyph pixel content | Fonts/FontCache.h | |
| FontFace | const TWeakPtr< FFreeTypeFace > | Weak pointer to the FreeType face to render with | Fonts/FontCache.h | |
| GlyphIndex | const uint32 | The index of this glyph in the FreeType face | Fonts/FontCache.h | |
| Ppem | const int32 | The pixel size at which the sdf glyph is generated | Fonts/FontCache.h | |
| SpreadCategory | const int32 | The spread category. | Fonts/FontCache.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KeyHash | uint32 | Cached hash value used for map lookups | Fonts/FontCache.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetSpreadCategory
(
float InEmOuterSpread, |
Computes the discrete spread category from real spread values specified in em | Fonts/FontCache.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FSdfGlyphEntryKey& Other |
Fonts/FontCache.h | ||
bool operator==
(
const FSdfGlyphEntryKey& Other |
Fonts/FontCache.h |