UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSdfGlyphEntryKey Struct Reference

#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< FFreeTypeFaceFontFace
 
const uint32 GlyphIndex
 
const ESlateFontAtlasContentType AtlasContentType
 
const int32 Ppem
 
const int32 SpreadCategory
 

Friends

uint32 GetTypeHash (const FSdfGlyphEntryKey &Key)
 

Detailed Description

Minimal FSdfGlyphEntryKey key information used for map lookups

Constructor & Destructor Documentation

◆ FSdfGlyphEntryKey()

FSdfGlyphEntryKey::FSdfGlyphEntryKey ( const TWeakPtr< FFreeTypeFace InFontFace,
uint32  InGlyphIndex,
ESlateFontAtlasContentType  InAtlasContentType,
int32  InPpem,
float  InEmOuterSpread,
float  InEmInnerSpread 
)

Member Function Documentation

◆ operator!=()

bool FSdfGlyphEntryKey::operator!= ( const FSdfGlyphEntryKey Other) const
inline

◆ operator==()

bool FSdfGlyphEntryKey::operator== ( const FSdfGlyphEntryKey Other) const
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FSdfGlyphEntryKey Key)
friend

Member Data Documentation

◆ AtlasContentType

const ESlateFontAtlasContentType FSdfGlyphEntryKey::AtlasContentType

Type of glyph pixel content

◆ FontFace

const TWeakPtr<FFreeTypeFace> FSdfGlyphEntryKey::FontFace

Weak pointer to the FreeType face to render with

◆ GlyphIndex

const uint32 FSdfGlyphEntryKey::GlyphIndex

The index of this glyph in the FreeType face

◆ Ppem

const int32 FSdfGlyphEntryKey::Ppem

The pixel size at which the sdf glyph is generated

◆ SpreadCategory

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


The documentation for this struct was generated from the following files: