DirectX 11 Draw Text

Started by
1 comment, last by JWalsh 11 years, 8 months ago
Hey ya, I want to draw some stats from some tests and something else in my DirectX 11 application.So I searched a little bit and found some old commands from D3D9 ( ID3DXFont* and D3DXCreateFont....) but these commands needs a D3D9 Device (I have a D3D11 Device).

The second thing was the font engine from Rastertek ,but this is too much work for my state draws .

So now I want to ask you if somebody know how I can Draw Text like in Direct3D 9 with some commands .

Thanks
Advertisement
There's no such commands in DirectX 11. You'll have to use something like Rasterek did (those "commands" do the same thing anyways).

There are few font rendering demos if you search forums/Google.

Alternatively you could take CeGUI/MyGUI (and most likely some other GUI engines) and draw textbox whereever you need.
Check out Ruefelt's OpenSource D3D Font Library. It's licensed under the MIT License. There's discussion about it here on gamedev.net as well.

Cheers and Good luck!
Jeromy Walsh
Sr. Tools & Engine Programmer | Software Engineer
Microsoft Windows Phone Team
Chronicles of Elyria (An In-development MMORPG)
GameDevelopedia.com - Blog & Tutorials
GDNet Mentoring: XNA Workshop | C# Workshop | C++ Workshop
"The question is not how far, the question is do you possess the constitution, the depth of faith, to go as far as is needed?" - Il Duche, Boondock Saints

This topic is closed to new replies.

Advertisement