Sign in to follow this  
Reegan

Changing D3D related settings after creation?

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
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

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