Class SCNBlendMode


  • public final class SCNBlendMode
    extends java.lang.Object
    [@enum] SCNBlendMode Blend modes that SCNMaterial uses to compose with the framebuffer to produce blended colors.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Add
      Blends the source and destination colors by adding them up.
      static long Alpha
      Blends the source and destination colors by adding the source multiplied by source alpha and the destination multiplied by one minus source alpha.
      static long Max
      Max the destination with the source (ignores alpha).
      static long Multiply
      Blends the source and destination colors by multiplying them.
      static long Replace
      Replaces the destination with the source (ignores alpha).
      static long Screen
      Blends the source and destination colors by multiplying one minus the source with the destination and adding the source.
      static long Subtract
      Blends the source and destination colors by subtracting the source from the destination.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Alpha

        public static final long Alpha
        Blends the source and destination colors by adding the source multiplied by source alpha and the destination multiplied by one minus source alpha.
        See Also:
        Constant Field Values
      • Add

        public static final long Add
        Blends the source and destination colors by adding them up.
        See Also:
        Constant Field Values
      • Subtract

        public static final long Subtract
        Blends the source and destination colors by subtracting the source from the destination.
        See Also:
        Constant Field Values
      • Multiply

        public static final long Multiply
        Blends the source and destination colors by multiplying them.
        See Also:
        Constant Field Values
      • Screen

        public static final long Screen
        Blends the source and destination colors by multiplying one minus the source with the destination and adding the source.
        See Also:
        Constant Field Values
      • Replace

        public static final long Replace
        Replaces the destination with the source (ignores alpha).
        See Also:
        Constant Field Values
      • Max

        public static final long Max
        Max the destination with the source (ignores alpha).
        See Also:
        Constant Field Values