Click or drag to resize
SoTextureEnabledElement Methods

The SoTextureEnabledElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet(SoState)
Calls Get(state, System.Int32(0)).
Public methodStatic memberGet(SoState, Int32)

Used by shapes to figure out if they need to send texture coordinates.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetDefault

By default there is no texture.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Overrides pop() method so side effects can occur in GL.

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

Overrides push() so we can remember previous element's value and avoid making GL calls if this element has the same value.

(Overrides SoReplacedTextureElementPush(SoState).)
Public methodStatic memberSet(SoState, Boolean)
Calls Set(state, value, (OIV.Inventor.Nodes.SoNode ^)nullptr).
Public methodStatic memberSet(SoState, Boolean, SoNode)

Used by GLTextureImageElement, set to true when a non-null image is set, set to false when there is no texture image (the default).

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