Hello,
Welcome to Microsoft Q&A!
How To Add UI To My DirectX Game (DirectX 12) Without XAML
Please refer to The user interface overlay document
While there are many ways to display text and user interface elements in a DirectX game, we're going to focus on using Direct2D. We'll also be using DirectWrite for the text elements. If your game requires a complex user interface, like those found in simulation and strategy games consider using XAML instead.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.