Sign in to follow this  

DirectX 11 Draw Text

This topic is 1975 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Check out [url="http://fw1.codeplex.com/"]Ruefelt's OpenSource D3D Font Library[/url]. It's licensed under the MIT License. There's [url="http://www.gamedev.net/topic/597917-d3d11-drawing-text/"]discussion about it[/url] here on gamedev.net as well.

Cheers and Good luck!

Share this post


Link to post
Share on other sites

This topic is 1975 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this