Enum Class SourceFactor

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

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

    • CONSTANT_ALPHA

      public static final SourceFactor CONSTANT_ALPHA
    • CONSTANT_COLOR

      public static final SourceFactor CONSTANT_COLOR
    • DST_ALPHA

      public static final SourceFactor DST_ALPHA
    • DST_COLOR

      public static final SourceFactor DST_COLOR
    • ONE

      public static final SourceFactor ONE
    • ONE_MINUS_CONSTANT_ALPHA

      public static final SourceFactor ONE_MINUS_CONSTANT_ALPHA
    • ONE_MINUS_CONSTANT_COLOR

      public static final SourceFactor ONE_MINUS_CONSTANT_COLOR
    • ONE_MINUS_DST_ALPHA

      public static final SourceFactor ONE_MINUS_DST_ALPHA
    • ONE_MINUS_DST_COLOR

      public static final SourceFactor ONE_MINUS_DST_COLOR
    • ONE_MINUS_SRC_ALPHA

      public static final SourceFactor ONE_MINUS_SRC_ALPHA
    • ONE_MINUS_SRC_COLOR

      public static final SourceFactor ONE_MINUS_SRC_COLOR
    • SRC_ALPHA

      public static final SourceFactor SRC_ALPHA
    • SRC_ALPHA_SATURATE

      public static final SourceFactor SRC_ALPHA_SATURATE
    • SRC_COLOR

      public static final SourceFactor SRC_COLOR
    • ZERO

      public static final SourceFactor ZERO
  • Constructor Details

    • SourceFactor

      private SourceFactor()
  • Method Details

    • values

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