I believe there's a
D3DX function that can load a
DDS file with mipmaps but
D3DX is deprecated. Any function/library that can load it and that's not deprecated? I need it for
DirectX if it makes any difference.
There is DirectXTex which has a lightweight DDS loader which can load mipmaps for you. You can integrate it very easily (just inlude some headers in your project and that's it) and call CreateDDSTextureFromFile function to load a texture from disk. There is an even more robust loader one which I haven't tried yet.