Class SoLogicOperationElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoLogicOperationElement
-
public class SoLogicOperationElement extends SoElement
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 Classes Modifier and Type Class Description static class
SoLogicOperationElement.LogicOperations
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.void
pop(SoState state, SoElement prevTopElement)
Overridepop()
method to keep GL up to date.void
push(SoState state)
Overridepush()
method to keep GL up to date.static void
set(SoState state, boolean enable, SoLogicOperationElement.LogicOperations operation)
set the current logic operation-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
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
public void pop(SoState state, SoElement prevTopElement)
Overridepop()
method to keep GL up to date.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-