Click or drag to resize
SoShaderProgramElement Class

Stores the current shader program.

Inheritance Hierarchy
System.Object
  OIV.Inventor.SoNetBase
    OIV.Inventor.Elements.SoElement
      OIV.Inventor.Elements.SoReplacedElement
        OIV.Inventor.Elements.SoShaderProgramElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
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 SoElement.Pop(SoState, SoElement).)
Public methodPush

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

(Overrides SoElement.Push(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