FShapedTextCache

Cache of shaped text

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/ShapedTextCache.h

Include

#include "Framework/Text/ShapedTextCache.h"

Syntax

class FShapedTextCache

Remarks

Cache of shaped text

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function

FShapedGlyph...

 

AddShapedText

(
    const FCachedShapedTextKey& InKey,
    const TCHAR* InText
)

Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided

Public function

FShapedGlyph...

 

AddShapedText

(
    const FCachedShapedTextKey& InKey,
    FShapedGlyphSequenceRef InShapedTex...
)

Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided

Public function

FShapedGlyph...

 

AddShapedText

(
    const FCachedShapedTextKey& InKey,
    const TCHAR* InText,
    const TextBiDi::ETextDirection InTe...
)

Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided

Public function

void

 

Clear()

Clear this cache

Public function Static

FShapedTextC...

 

Create

(
    const TSharedRef< FSlateFontCache >...
)

Create a new shaped text cache

Public function

FShapedGlyph...

 

FindOrAddShapedText

(
    const FCachedShapedTextKey& InKey,
    const TCHAR* InText
)

Try and find an existing shaped text instance, or add a new entry to the cache if one cannot be found

Public function

FShapedGlyph...

 

FindOrAddShapedText

(
    const FCachedShapedTextKey& InKey,
    const TCHAR* InText,
    const TextBiDi::ETextDirection InTe...
)

Try and find an existing shaped text instance, or add a new entry to the cache if one cannot be found

Public function Const

FShapedGlyph...

 

FindShapedText

(
    const FCachedShapedTextKey& InKey
)

Try and find an existing shaped text instance

Public function Const

TSharedPtr< ...

 

GetFontCache()

Get the font cache used by this instance

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