C language function:D3DXCreateVolumeTextureFromFileEx sample codes

Search sample code in the internet.It is the result.

TITLE : directx - Color grading, shaders and 3d textures - Game Development Stack Exchange
Thanks, this is encouraging. Maybe you know what should I do with an image to be able to pass it to D3DXCreateVolumeTextureFromFileEx() function? I'm currently using .tga and, as MSDN says, I can use the same file format for both, 2D and 3D textures. But what it doesn't say is the way to prepare an image for assigning it to the volume texture. ? Kirill Daybov Sep 5 '13 at 6:19.......

search Google