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 JsonBlendingMode |
parseBlendNode(com.google.gson.JsonObject json) |
private static int |
stringToBlendFactor(java.lang.String factorName) |
private 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 JsonBlendingMode parseBlendNode(com.google.gson.JsonObject json)
private static int stringToBlendFunction(java.lang.String funcName)
private static int stringToBlendFactor(java.lang.String factorName)