Enum Class BlendFactor

java.lang.Object
java.lang.Enum<BlendFactor>
com.mojang.blaze3d.platform.BlendFactor
All Implemented Interfaces:
Serializable, Comparable<BlendFactor>, Constable

public enum BlendFactor extends Enum<BlendFactor>
  • Enum Constant Details

    • CONSTANT_ALPHA

      public static final BlendFactor CONSTANT_ALPHA
    • CONSTANT_COLOR

      public static final BlendFactor CONSTANT_COLOR
    • DST_ALPHA

      public static final BlendFactor DST_ALPHA
    • DST_COLOR

      public static final BlendFactor DST_COLOR
    • ONE

      public static final BlendFactor ONE
    • ONE_MINUS_CONSTANT_ALPHA

      public static final BlendFactor ONE_MINUS_CONSTANT_ALPHA
    • ONE_MINUS_CONSTANT_COLOR

      public static final BlendFactor ONE_MINUS_CONSTANT_COLOR
    • ONE_MINUS_DST_ALPHA

      public static final BlendFactor ONE_MINUS_DST_ALPHA
    • ONE_MINUS_DST_COLOR

      public static final BlendFactor ONE_MINUS_DST_COLOR
    • ONE_MINUS_SRC_ALPHA

      public static final BlendFactor ONE_MINUS_SRC_ALPHA
    • ONE_MINUS_SRC_COLOR

      public static final BlendFactor ONE_MINUS_SRC_COLOR
    • SRC_ALPHA

      public static final BlendFactor SRC_ALPHA
    • SRC_ALPHA_SATURATE

      public static final BlendFactor SRC_ALPHA_SATURATE
    • SRC_COLOR

      public static final BlendFactor SRC_COLOR
    • ZERO

      public static final BlendFactor ZERO
  • Constructor Details

    • BlendFactor

      private BlendFactor()
  • Method Details

    • values

      public static BlendFactor[] 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 BlendFactor 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