Click or drag to resize
SoGLLazyElement Class

Manages the GL state for the OIV.Inventor.Elements.SoLazyElement.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoLazyElement
        OIV.Inventor.ElementsSoGLLazyElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoGLLazyElement : SoLazyElement

The SoGLLazyElement 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 methodStatic memberGetInstance

Returns the top (current) instance of the element in the state Note it does NOT cause cache dependency! It also casts away the const.

Public methodGetNumColorIndices

Method to inquire about current colors.

(Inherited from SoLazyElement.)
Public methodGetNumDiffuse

Method to inquire about current colors.

(Inherited from SoLazyElement.)
Public methodGetNumTransparencies

Method to inquire about current colors.

(Inherited from SoLazyElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsPacked

Method to inquire about current colors.

(Inherited from SoLazyElement.)
Public methodIsTransparent

Method to inquire about current colors.

(Inherited from SoLazyElement.)
Public methodPop

Overrides OIV.Inventor.Elements.SoGLLazyElement.Pop(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoElement) method to maintain GL state.

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

Destroys knowledge of GL state.

Public methodStatic memberSendAllMaterial

Static send, always send top-of-stack.

Public methodSendDiffuseByIndex

Sends diffuse color and transparency, by index.

Public methodStatic memberSendNoMaterial

Static send, always send top-of-stack.

Public methodStatic memberSendOnlyDiffuseColor

Static send, always send top-of-stack.

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

This element manages the GL state for the OIV.Inventor.Elements.SoLazyElement.

Note that this class relies on OIV.Inventor.Elements.SoLazyElement to store the Open Inventor color(s), etc. in the instance. This element keeps GL shadow copies of colors.

See Also