@Environment(value=CLIENT) public class GlBlendState extends Object
Modifier and Type | Field and Description |
---|---|
private static GlBlendState |
activeBlendState |
private boolean |
blendDisabled |
private int |
dstAlpha |
private int |
dstRgb |
private int |
func |
private boolean |
separateBlend |
private int |
srcAlpha |
private int |
srcRgb |
Modifier | Constructor and Description |
---|---|
|
GlBlendState() |
private |
GlBlendState(boolean separateBlend,
boolean blendDisabled,
int srcRgb,
int dstRgb,
int srcAlpha,
int dstAlpha,
int func) |
|
GlBlendState(int srcRgb,
int dstRgb,
int func) |
|
GlBlendState(int srcRgb,
int dstRgb,
int srcAlpha,
int dstAlpha,
int func) |
Modifier and Type | Method and Description |
---|---|
void |
enable() |
boolean |
equals(Object o) |
static int |
getComponentFromString(String string) |
static int |
getFuncFromString(String string) |
int |
hashCode() |
boolean |
isBlendDisabled() |
private static GlBlendState activeBlendState
private final int srcRgb
private final int srcAlpha
private final int dstRgb
private final int dstAlpha
private final int func
private final boolean separateBlend
private final boolean blendDisabled
private GlBlendState(boolean separateBlend, boolean blendDisabled, int srcRgb, int dstRgb, int srcAlpha, int dstAlpha, int func)
public GlBlendState()
public GlBlendState(int srcRgb, int dstRgb, int func)
public GlBlendState(int srcRgb, int dstRgb, int srcAlpha, int dstAlpha, int func)