C language function:D3DXCreateVolumeTextureFromFile sample codes

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


TITLE : Maya API: hlslShader.cpp
// if( D3DXCreateVolumeTextureFromFile( d3dDevice, name.asChar(), &d3dTexture) == D3D_OK).......
http://download.autodesk.com/us/maya/2011help/api/hlsl_shader_8cpp-example.html


search Google

https://www.google.com/#q=D3DXCreateVolumeTextureFromFile