[osg-users] setTextureAttribute first Parameter?

2011-05-03 Thread Nan WANG
Hi, Anybody can explain what is the meaning of first parameter of function void osg::StateSet::setTextureAttribute(unsigned int unit, StateAttribute * attribute, StateAttribute::OverrideValue, value = StateAttribute::OFF) what is the meaning of unit? The texture unit to be affected? If I

Re: [osg-users] setTextureAttribute first Parameter?

2011-05-03 Thread Chris 'Xenon' Hanson
On 5/3/2011 11:14 AM, Nan WANG wrote: Hi, Anybody can explain what is the meaning of first parameter of function void osg::StateSet::setTextureAttribute(unsigned int unit, StateAttribute * attribute, StateAttribute::OverrideValue, value = StateAttribute::OFF) what is the meaning of unit?