You can use an external imagelibrary like freeimage to load your textures.
I'm using this and had found a good snippet in this forum, where you can see, how the texture is created and filled with image-data.
http://www.gamedev.net/topic/596487-d3dx11-and-tga/
Show differencesHistory of post edits
#1Auskennfuchs
Posted 16 November 2012 - 08:56 AM
You can use an external imagelibrary like freeimage to load your textures.
I'm using this and had found a good snippet in this forum, where you can see, how the texture ist created and filled with the information.
http://www.gamedev.net/topic/596487-d3dx11-and-tga/
I'm using this and had found a good snippet in this forum, where you can see, how the texture ist created and filled with the information.
http://www.gamedev.net/topic/596487-d3dx11-and-tga/