Click or drag to resize
SoGLTextureCubeMapEnabledElement Class

Note: This API is now obsolete.

Enables/disables textureCubeMap.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public class SoGLTextureCubeMapEnabledElement : SoTextureCubeMapEnabledElement

The SoGLTextureCubeMapEnabledElement 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 memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

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 SoTextureCubeMapEnabledElementPop(SoState, SoElement).)
Public methodPush

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

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

This element enables/disables textureCubeMap. This is implemented as a separate element from the TextureImageElement so the texture image can be changed without blowing caches containing shapes shapes need to know if texturing is going on or not so they can decide to send down texture coordinates or not.

<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.

This Element is very similar to SoGLTextureEnabledElement but contrary to SoGLTextureImageElement, we can't deal with the texture2d and the CubeMap texture in the same element.

This element cannot be overridden, but, since the elements that set it check each other's value, overriding those elements has the same effect.

See Also