Class SoLogicOperationElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoLogicOperationElement
Stores the current logical pixel operation for rendering.
This element stores the current logical pixel operation for rendering.
A Logical Operation is a Per-Sample Processing operation applied between the Fragment's color values and color values in the Framebuffer being rendered to that correspond to that particular fragment color. Logical operations are boolean operations performed on the bit pattern that represents the colors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Logic Operation as defined by OpenGL's logicOp enum.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 int
Deprecated.As of Open Inventor 9.3.0.0.void
Overridepop()
method to keep GL up to date.void
Overridepush()
method to keep GL up to date.static void
set
(SoState state, boolean enable, SoLogicOperationElement.LogicOperations operation) set the current logic operationMethods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
push
Overridepush()
method to keep GL up to date. -
set
public static void set(SoState state, boolean enable, SoLogicOperationElement.LogicOperations operation) set the current logic operation- Parameters:
state
- the state from which to retrieve the element instance.enable
- Whether to enable or not logic operationsoperation
- which operation to apply
-
pop
Overridepop()
method to keep GL up to date. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-