Archived

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

Drath

D3DXCreateTextureFromFileEx : Filter settings

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