Class 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.

    • Method Detail

      • set

        public static void set​(SoState state,
                               boolean enable,
                               SoLogicOperationElement.LogicOperations operation)
        set the current logic operation

        state - the state from which to retrieve the element instance.

        enable - Whether to enable or not logic operations

        operation - which operation to apply
      • getClassStackIndex

        public static int getClassStackIndex()
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *