Package arc.graphics
Class Blending
java.lang.Object
arc.graphics.Blending
Blending modes, can be instantiated to make custom blending.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
Enables/disables blending and sets the correct GL blend function.
-
Field Details
-
normal
-
additive
-
disabled
-
src
public final int src -
dst
public final int dst -
srcAlpha
public final int srcAlpha -
dstAlpha
public final int dstAlpha
-
-
Constructor Details
-
Blending
public Blending(int src, int dst) -
Blending
public Blending(int src, int dst, int srcAlpha, int dstAlpha)
-
-
Method Details
-
apply
public void apply()Enables/disables blending and sets the correct GL blend function.
-