public enum BlendFactor extends java.lang.Enum<BlendFactor>
Enum Constant and Description |
---|
CONSTANT_ALPHA
The blend factor is vec4(c.a) where c is specified in
RenderState.getBlendColor() |
CONSTANT_COLOR
The blend factor is c where c is specified in
RenderState.getBlendColor() |
DST_ALPHA
The blend factor is vec4(dst.a)
|
DST_COLOR
The blend factor is dst.rgba
|
ONE
The blend factor is vec4(1)
|
ONE_MINUS_CONSTANT_ALPHA
The blend factor is vec4(1 - c.a) where c is specified in
RenderState.getBlendColor() |
ONE_MINUS_CONSTANT_COLOR
The blend factor is vec4(1) - c where c is specified in
RenderState.getBlendColor() |
ONE_MINUS_DST_ALPHA
The blend factor is vec4(1 - dst.a)
|
ONE_MINUS_DST_COLOR
The blend factor is vec4(1) - dst.rgba
|
ONE_MINUS_SRC_ALPHA
The blend factor is vec4(1 - src.a)
|
ONE_MINUS_SRC_COLOR
The blend factor is vec4(1) - src.rgba
|
SRC_ALPHA
The blend factor is vec4(src.a)
|
SRC_ALPHA_SATURATE
The blend factor is min(src.a, 1 - dst.a)
|
SRC_COLOR
The blend factor is src.rgba
|
ZERO
The blend factor is vec4(0)
|
Modifier and Type | Method and Description |
---|---|
static BlendFactor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlendFactor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendFactor ZERO
public static final BlendFactor ONE
public static final BlendFactor SRC_COLOR
public static final BlendFactor ONE_MINUS_SRC_COLOR
public static final BlendFactor DST_COLOR
public static final BlendFactor ONE_MINUS_DST_COLOR
public static final BlendFactor SRC_ALPHA
public static final BlendFactor ONE_MINUS_SRC_ALPHA
public static final BlendFactor DST_ALPHA
public static final BlendFactor ONE_MINUS_DST_ALPHA
public static final BlendFactor CONSTANT_COLOR
RenderState.getBlendColor()
public static final BlendFactor ONE_MINUS_CONSTANT_COLOR
RenderState.getBlendColor()
public static final BlendFactor CONSTANT_ALPHA
RenderState.getBlendColor()
public static final BlendFactor ONE_MINUS_CONSTANT_ALPHA
RenderState.getBlendColor()
public static final BlendFactor SRC_ALPHA_SATURATE
public static BlendFactor[] values()
for (BlendFactor c : BlendFactor.values()) System.out.println(c);
public static BlendFactor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null