Enum Class MatrixMode

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

public enum MatrixMode extends Enum<MatrixMode>
Enumeration of Matrix types.
Author:
Matthew Tropiano
  • Enum Constant Details

    • MODELVIEW

      public static final MatrixMode MODELVIEW
    • PROJECTION

      public static final MatrixMode PROJECTION
    • TEXTURE

      public static final MatrixMode TEXTURE
  • Field Details

    • glValue

      public final int glValue
    • glReadValue

      public final int glReadValue
  • Method Details

    • values

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