Enum Class HintType

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

public enum HintType extends Enum<HintType>
Hint enum types for GL Hints.
Author:
Matthew Tropiano
  • Enum Constant Details

    • POINT_SMOOTHING

      public static final HintType POINT_SMOOTHING
      Point smoothing hints.
    • LINE_SMOOTHING

      public static final HintType LINE_SMOOTHING
      Line smoothing hints.
    • POLYGON_SMOOTHING

      public static final HintType POLYGON_SMOOTHING
      Polygon smoothing hints.
    • FOG

      public static final HintType FOG
      Fog rendering hints.
    • MIPMAPPING

      public static final HintType MIPMAPPING
      Mipmap generation hints.
    • TEXTURE_COMPRESSION

      public static final HintType TEXTURE_COMPRESSION
      Texture compression hint.
    • PERSPECTIVE_CORRECTION

      public static final HintType PERSPECTIVE_CORRECTION
      Perspective compression hint.
  • Field Details

    • glValue

      public final int glValue
  • Method Details

    • values

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