Class SoShaderProgramElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoShaderProgramElement
-
public class SoShaderProgramElement extends SoReplacedElement
Stores the current shader program. This element stores the current shader program.- See Also:
SoShaderProgram
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SoShaderProgram
get(SoState state)
Gets the current shader program in the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.void
pop(SoState state, SoElement prevTopElement)
Overridespop()
method so side effects can occur in GL.void
push(SoState name_20928)
Overridespush()
method so side effects can occur in GL.static void
set(SoState state, SoNode node)
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 Detail
-
getClassStackIndex
@Deprecated(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
set
public static void set(SoState state, SoNode node)
Sets the current shader program in the state.
-
pop
public void pop(SoState state, SoElement prevTopElement)
Overridespop()
method so side effects can occur in GL.
-
get
public static SoShaderProgram get(SoState state)
Gets the current shader program in the state.
-
-