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
DirectX 11 Draw Text
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.
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!
Cheers and Good luck!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement