Creating a Image Loader

Started by
1 comment, last by eppo 10 years, 6 months ago

Hello! I'm writing a game engine using C++ and was wondering how I would create a custom image loader that supports PNG, DDS, & JPG. I saw that D3DX11CreateShaderResourceViewFromFile has been removed. How would I do this? Thanks! :)

Advertisement

I use FreeImage in OpenGL, should work in dx too. I find it rather easy to use. I also heard of DevIL but i never used it.

Don't go crazy writing your own image loader. The spiritual successor to the D3DX loaders is the WICTextureLoader in the DirectX Tool Kit.

This topic is closed to new replies.

Advertisement