Sign in to follow this  
cyric74

Loading .DDS

Recommended Posts

cyric74    100
I'm wanting to use .DDS DXT5 format images loaded from resources, and was wondering if I needed to use a certain function or Format.DXT5 to open them, or if simply being an image in the .DDS format is enough to let them program know they are compressed? Thanks, Cyric

Share this post


Link to post
Share on other sites
neneboricua19    634
If you use the D3DXCreateTextureFrom* functions, all you need to do is give it the file name. The function will take care of checking the type of data it is and load it appropriately.

neneboricua

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