Interface IntEnum

All Known Implementing Classes:
CursorMode, CursorType, GamepadAxis, GamepadButton, Key, MouseButton, Shader.Type, Texture.Filter, Texture.Wrap, VertexBufferObject.Target, VertexBufferObject.Usage, WindowHint

public interface IntEnum
An enum that is represented by integers.

Often used by enums that wrap around GLFW constants.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the integer value of this instance.
    Returns an int property whose value is the integer value of this instance.
  • Method Details

    • getValue

      int getValue()
      Returns the integer value of this instance.
      Returns:
      The integer value.
    • toProperty

      default FixedIntProperty toProperty()
      Returns an int property whose value is the integer value of this instance.
      Returns:
      An int property with the value of this instance.