Click or drag to resize
SoShaderProgramElement Class

Stores the current shader program.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedElement
        OIV.Inventor.ElementsSoShaderProgramElement

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

The SoShaderProgramElement 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

Gets the current shader program in the state.

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 OIV.Inventor.Elements.SoShaderProgramElement.Pop(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoElement) method so side effects can occur in GL.

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

Overrides OIV.Inventor.Elements.SoShaderProgramElement.Push(OIV.Inventor.Misc.SoState) method so side effects can occur in GL.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSet

Sets the current shader program in the state.

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

This element stores the current shader program.

See Also