public class JSONBlendingMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
blendFunction |
private int |
destAlphaFactor |
private int |
destColorFactor |
private static JSONBlendingMode |
lastApplied |
private boolean |
opaque |
private boolean |
separateBlend |
private int |
srcAlphaFactor |
private int |
srcColorFactor |
Modifier | Constructor and Description |
---|---|
|
JSONBlendingMode() |
private |
JSONBlendingMode(boolean separateBlendIn,
boolean opaqueIn,
int srcColorFactorIn,
int destColorFactorIn,
int srcAlphaFactorIn,
int destAlphaFactorIn,
int blendFunctionIn) |
|
JSONBlendingMode(int srcFactor,
int dstFactor,
int blendFunctionIn) |
|
JSONBlendingMode(int srcColorFactorIn,
int destColorFactorIn,
int srcAlphaFactorIn,
int destAlphaFactorIn,
int blendFunctionIn) |
Modifier and Type | Method and Description |
---|---|
void |
apply() |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
hashCode() |
boolean |
isOpaque() |
static int |
stringToBlendFactor(java.lang.String factorName) |
static int |
stringToBlendFunction(java.lang.String funcName) |
private static JSONBlendingMode lastApplied
private final int srcColorFactor
private final int srcAlphaFactor
private final int destColorFactor
private final int destAlphaFactor
private final int blendFunction
private final boolean separateBlend
private final boolean opaque
private JSONBlendingMode(boolean separateBlendIn, boolean opaqueIn, int srcColorFactorIn, int destColorFactorIn, int srcAlphaFactorIn, int destAlphaFactorIn, int blendFunctionIn)
public JSONBlendingMode()
public JSONBlendingMode(int srcFactor, int dstFactor, int blendFunctionIn)
public JSONBlendingMode(int srcColorFactorIn, int destColorFactorIn, int srcAlphaFactorIn, int destAlphaFactorIn, int blendFunctionIn)
public void apply()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isOpaque()
public static int stringToBlendFunction(java.lang.String funcName)
public static int stringToBlendFactor(java.lang.String factorName)