Package apple.scenekit.enums
Class SCNBlendMode
- java.lang.Object
-
- apple.scenekit.enums.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 longAddBlends the source and destination colors by adding them up.static longAlphaBlends the source and destination colors by adding the source multiplied by source alpha and the destination multiplied by one minus source alpha.static longMaxMax the destination with the source (ignores alpha).static longMultiplyBlends the source and destination colors by multiplying them.static longReplaceReplaces the destination with the source (ignores alpha).static longScreenBlends the source and destination colors by multiplying one minus the source with the destination and adding the source.static longSubtractBlends the source and destination colors by subtracting the source from the destination.
-
-
-
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
-
-