It needs some real documentation because I don't see anything that describes what parameters each function takes. For example, what param does ilGetIntegerv accept? When I load a DDS or VTF file, how do I know it is a 2D or 3D or cubemap?
The header file doesn't have any commenting.
The pdf doc doesn't have much.
Documentation should be on its way.
In the meantime, you can download the tarball and
./configure && make pdf
to get a PDF manual in the docs/ directory
ok, I found what I was looking for. This is how you deal with file that might contain a cubemap such as DDS and VTF.
//it is a cubemap, so get each face
//Compute the size
Total = xxxxxxxxxxxx
for(i=0; i<6; i++)
memcpy(&pColorData, ilGetData(), Total);
Log in to post a comment.