Click or drag to resize
SoTextureUnitElement Class

Stores the current texture unit identifier.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoTextureUnitElement : SoAccumulatedElement

The SoTextureUnitElement type exposes the following members.

Methods
  NameDescription
Public methodStatic memberActivateTextureUnit

Activates the current texture if it exists.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetActiveMappingMethod

Returns the current active mapping method according to the current texture unit.

Public methodStatic memberGetActiveTextureUnit

Returns the current active texture unit (the last texture unit set).

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetMappingMethods

Returns the mapping method associated with each texture unit.

Public methodStatic memberGetMaxTextureUnit
Calls GetMaxTextureUnit((OIV.Inventor.Misc.SoState ^)nullptr).
Public methodStatic memberGetMaxTextureUnit(SoState)

Returns the maximum texture units.

Public methodStatic memberGetTextureUnits

Returns the current list texture units.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsBumpMapping

Indicate if one unit among the current unit list corresponds to an BUMP_MAPPING.

Public methodStatic memberIsImageMapping

Indicate if one unit among the current unit list corresponds to an IMAGE_MAPPING.

Public methodPop

Pop method.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Overrides push() method to copy values from next instance in the stack.

(Overrides SoAccumulatedElementPush(SoState).)
Public methodStatic memberSet

Sets the current texture unit and mapping method.

Public methodStatic memberShouldSendGLData

Indicate according to the current mapping method if GL data must be sent or not.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the the current texture unit identifier.

See Also