Enum Class BlendArg

java.lang.Object
java.lang.Enum<BlendArg>
com.blackrook.gloop.opengl.enums.BlendArg
All Implemented Interfaces:
Serializable, Comparable<BlendArg>, java.lang.constant.Constable

public enum BlendArg extends Enum<BlendArg>
Enumeration of blend source/destination arguments.
Author:
Matthew Tropiano
  • Enum Constant Details

    • ZERO

      public static final BlendArg ZERO
    • ONE

      public static final BlendArg ONE
    • SOURCE_COLOR

      public static final BlendArg SOURCE_COLOR
    • ONE_MINUS_SOURCE_COLOR

      public static final BlendArg ONE_MINUS_SOURCE_COLOR
    • DEST_COLOR

      public static final BlendArg DEST_COLOR
    • ONE_MINUS_DEST_COLOR

      public static final BlendArg ONE_MINUS_DEST_COLOR
    • SOURCE_ALPHA

      public static final BlendArg SOURCE_ALPHA
    • ONE_MINUS_SOURCE_ALPHA

      public static final BlendArg ONE_MINUS_SOURCE_ALPHA
    • DEST_ALPHA

      public static final BlendArg DEST_ALPHA
    • ONE_MINUS_DEST_ALPHA

      public static final BlendArg ONE_MINUS_DEST_ALPHA
    • SOURCE_ALPHA_SATURATE

      public static final BlendArg SOURCE_ALPHA_SATURATE
  • Field Details

    • glValue

      public final int glValue
  • Method Details

    • values

      public static BlendArg[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BlendArg valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null