Click or drag to resize
SoTextureUnitElement Class

Stores the current texture unit identifier.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
        OIV.Inventor.ElementsSoTextureUnitElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
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 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 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 methodPop

Pop method.

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

Overrides OIV.Inventor.Elements.SoTextureUnitElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack.

(Overrides SoAccumulatedElementPush(SoState).)
Public methodStatic memberSet

Sets the current texture unit.

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