FSlateFontCache::AddNewEntry

Add a new entries into a cache atlas

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h

Include

#include "Fonts/FontCache.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp

Syntax

bool AddNewEntry
(
    const FShapedGlyphEntry & InShapedGlyph,
    const FFontOutlineSettings & InOutlineSettings,
    FShapedGlyphFontAtlasData & OutAtlasData
)

Remarks

Add a new entries into a cache atlas

Returns

true if the characters could be cached. false if the cache is full

Parameters

Parameter

Description

InFontInfo

Information about the font being used for the characters

Characters

The characters to cache

FontScale

The font scale to use

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss