-
-
Notifications
You must be signed in to change notification settings - Fork 53
Using FontStashSharp in generic game engine
Roman Shapiro edited this page Aug 14, 2025
·
19 revisions
There's engine agnostic version of FontStashStash available at nuget: https://www.nuget.org/packages/FontStashSharp.PlatformAgnostic/
In order to use FontStashSharp you need to provide an implementation for any of two interfaces:
IFontStashRenderer renders data to XNA-like SpriteBatch.
There are two samples demonstrating implementation of that interface:
IFontStashRenderer2 renders the raw vertex data.
There are two samples demonstrating implementation of that interface: