IWindowHost.PrewarmText method
Hint that text is about to be shown in a styled / RichEmojiTextElement: the framework rasterizes the glyphs it does not have yet into the font atlas a few per frame, so the window apply that first lays the text out doesn’t stall doing it all at once. Call it when content ARRIVES, ahead of the render (e.g. a chat log on each incoming message, history included). Best-effort and optional: glyphs not warmed in time are still drawn exactly as before. Main thread or any thread; null/empty is ignored. No-op where unsupported (the default implementation). Added in 2.26.0.
public void PrewarmText(string text)See Also
Section titled “See Also”- interface IWindowHost
- namespace Stellar.Abstractions.Services