Enum Class DrawMode

java.lang.Object
java.lang.Enum<DrawMode>
dev.pfaff.altargui.shader.DrawMode
All Implemented Interfaces:
dev.pfaff.glass.opengl.GLEnum, Serializable, Comparable<DrawMode>, Constable

public enum DrawMode extends Enum<DrawMode> implements dev.pfaff.glass.opengl.GLEnum
  • Enum Constant Details

    • TRIANGLES

      public static final DrawMode TRIANGLES
    • TRIANGLE_STRIP

      public static final DrawMode TRIANGLE_STRIP
    • TRIANGLE_FAN

      public static final DrawMode TRIANGLE_FAN
  • Method Details

    • values

      public static DrawMode[] 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 DrawMode 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
    • glPrimitiveType

      public final dev.pfaff.glass.opengl.enums.GLPrimitiveType glPrimitiveType()
    • glEnum

      public final int glEnum()
      Specified by:
      glEnum in interface dev.pfaff.glass.opengl.GLEnum