com.threerings.opengl.renderer.config
Enum AlphaStateConfig.SourceBlendFactor

java.lang.Object
  extended by java.lang.Enum<AlphaStateConfig.SourceBlendFactor>
      extended by 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.


Enum Constant Summary
DST_ALPHA
           
DST_COLOR
           
ONE
           
ONE_MINUS_DST_ALPHA
           
ONE_MINUS_DST_COLOR
           
ONE_MINUS_SRC_ALPHA
           
SRC_ALPHA
           
SRC_ALPHA_SATURATE
           
ZERO
           
 
Method Summary
 int getConstant()
           
static AlphaStateConfig.SourceBlendFactor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AlphaStateConfig.SourceBlendFactor[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.