<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
static void set(SoState *state, SoNode *node, int unit)
Sets the current texture unit.
static const SbIntList & getTextureUnits(SoState *state)
Returns the current list texture units.
virtual void push(SoState *state)
Overrides push() method to copy values from next instance in the stack.
static int getMaxTextureUnit(SoState *state=NULL)
Returns the maximum texture units.
static SbBool isMultiTexturing(SoState *state, SbIntList &imageTexUnitList)
Returns TRUE if the multi-texturing is active: i.e., at least 2 texture units are defined.
static SbBool activateTextureUnit(SoState *state, int unit)
Activates the current texture if it exists.
virtual void pop(SoState *, const SoElement *prevTopElement)
Pop method.
static int getActiveTextureUnit(SoState *state)
Returns the current active texture unit (the last texture unit set).