Page 1 of 1

textures with mxm

Posted: Sat Jul 29, 2006 9:48 pm
by sidenimjay
does anyone know how to retrieve the number of textures used when calling

Cmaterial readMaterial( const char *pFileName );


i can set an mxm as my shader for an object, but i dont know how many uvwChannels to add to my object

all i need to know is how many unique textures are use in the mxm


Cmaxwell::Cmaterial mxmMat.getNumMxmTextures();


any help would rock!