Class SoShaderProgramElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoShaderProgramElement
Stores the current shader program.
This element stores the current shader program.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoShaderProgram
Gets the current shader program in the state.static int
Deprecated.As of Open Inventor 9.3.0.0.void
Overridespop()
method so side effects can occur in GL.void
Overridespush()
method so side effects can occur in GL.static void
Sets the current shader program in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
push
Overridespush()
method so side effects can occur in GL. -
set
Sets the current shader program in the state. -
pop
Overridespop()
method so side effects can occur in GL. -
get
Gets the current shader program in the state.
-