Archived

This topic is now archived and is closed to further replies.

D3DXCreateTextureFromFileEx : Filter settings

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

In the D3DXCreateTextureFromFileEx, you can set filter settings but how is it treated when you apply a sampler state. There are various filter options that are different from the sampler filters so I was wondering if the filters asked for in D3DXCreateTextureFromFileEx are just for building mipmaps and stuff and not for rendering. The documantation is rather unclear here.

Share this post


Link to post
Share on other sites
The filter settings to D3DXCreateTextureFromFile control how the image data is stretched and mipped to fit the texture, when the texture is created. They have no effect on renderstate.

xyzzy

Share this post


Link to post
Share on other sites