Jump to content
  • Advertisement
Sign in to follow this  
Reegan

Changing D3D related settings after creation?

This topic is 3675 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

Ok so heres what i want to know, and thanks to those who answer. How would i go about changing texture and font settings a runtime? would i have to destroy the current font/texture and then recreate it with the settings i want? im not sure if this applies much to sprites but fo fonts this is important. i want to do something like
SetFont("Arial", bold, italic, size);

thanks again.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Reegan
How would i go about changing texture and font settings a runtime? would i have to destroy the current font/texture and then recreate it with the settings i want?

You can create several fonts without problem, noo need to destroy and recreate, but yes, you have to create every font combination you need as a separate font object.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!