com.threerings.opengl.renderer.config
Enum AlphaStateConfig.SourceBlendFactor
java.lang.Object
java.lang.Enum<AlphaStateConfig.SourceBlendFactor>
com.threerings.opengl.renderer.config.AlphaStateConfig.SourceBlendFactor
- All Implemented Interfaces:
- Serializable, Comparable<AlphaStateConfig.SourceBlendFactor>
- Enclosing class:
- AlphaStateConfig
public static enum AlphaStateConfig.SourceBlendFactor
- extends Enum<AlphaStateConfig.SourceBlendFactor>
Source blend factor constants.
ZERO
public static final AlphaStateConfig.SourceBlendFactor ZERO
ONE
public static final AlphaStateConfig.SourceBlendFactor ONE
DST_COLOR
public static final AlphaStateConfig.SourceBlendFactor DST_COLOR
ONE_MINUS_DST_COLOR
public static final AlphaStateConfig.SourceBlendFactor ONE_MINUS_DST_COLOR
SRC_ALPHA
public static final AlphaStateConfig.SourceBlendFactor SRC_ALPHA
ONE_MINUS_SRC_ALPHA
public static final AlphaStateConfig.SourceBlendFactor ONE_MINUS_SRC_ALPHA
DST_ALPHA
public static final AlphaStateConfig.SourceBlendFactor DST_ALPHA
ONE_MINUS_DST_ALPHA
public static final AlphaStateConfig.SourceBlendFactor ONE_MINUS_DST_ALPHA
SRC_ALPHA_SATURATE
public static final AlphaStateConfig.SourceBlendFactor SRC_ALPHA_SATURATE
values
public static AlphaStateConfig.SourceBlendFactor[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AlphaStateConfig.SourceBlendFactor c : AlphaStateConfig.SourceBlendFactor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AlphaStateConfig.SourceBlendFactor valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getConstant
public int getConstant()
Copyright © 2011. All Rights Reserved.