How To Add UI To My DirectX Game (DirectX 12)

Hamza Elashry 226 Reputation points
2022-06-16T21:47:58.433+00:00

How To Add UI To My DirectX Game (DirectX 12) Without XAML

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,519 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
    2022-06-17T01:25:13.287+00:00

    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.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful