Enum Class WindowHint

java.lang.Object
java.lang.Enum<WindowHint>
dev.pfaff.glass.glfw.WindowHint
All Implemented Interfaces:
Serializable, Comparable<WindowHint>, Constable

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

    • FOCUSED

      public static final WindowHint FOCUSED
    • ICONIFIED

      public static final WindowHint ICONIFIED
    • RESIZABLE

      public static final WindowHint RESIZABLE
    • VISIBLE

      public static final WindowHint VISIBLE
    • DECORATED

      public static final WindowHint DECORATED
    • AUTO_ICONIFY

      public static final WindowHint AUTO_ICONIFY
    • FLOATING

      public static final WindowHint FLOATING
    • MAXIMIZED

      public static final WindowHint MAXIMIZED
    • CENTER_CURSOR

      public static final WindowHint CENTER_CURSOR
    • TRANSPARENT_FRAMEBUFFER

      public static final WindowHint TRANSPARENT_FRAMEBUFFER
    • HOVERED

      public static final WindowHint HOVERED
    • FOCUS_ON_SHOW

      public static final WindowHint FOCUS_ON_SHOW
    • CLIENT_API

      public static final WindowHint CLIENT_API
    • CONTEXT_VERSION_MAJOR

      public static final WindowHint CONTEXT_VERSION_MAJOR
    • CONTEXT_VERSION_MINOR

      public static final WindowHint CONTEXT_VERSION_MINOR
    • CONTEXT_REVISION

      public static final WindowHint CONTEXT_REVISION
    • CONTEXT_ROBUSTNESS

      public static final WindowHint CONTEXT_ROBUSTNESS
    • OPENGL_FORWARD_COMPAT

      public static final WindowHint OPENGL_FORWARD_COMPAT
    • CONTEXT_DEBUG

      public static final WindowHint CONTEXT_DEBUG
    • OPENGL_PROFILE

      public static final WindowHint OPENGL_PROFILE
    • CONTEXT_RELEASE_BEHAVIOR

      public static final WindowHint CONTEXT_RELEASE_BEHAVIOR
    • CONTEXT_NO_ERROR

      public static final WindowHint CONTEXT_NO_ERROR
    • CONTEXT_CREATION_API

      public static final WindowHint CONTEXT_CREATION_API
    • SCALE_TO_MONITOR

      public static final WindowHint SCALE_TO_MONITOR
    • SCALE_FRAMEBUFFER

      public static final WindowHint SCALE_FRAMEBUFFER
    • COCOA_RETINA_FRAMEBUFFER

      @Deprecated public static final WindowHint COCOA_RETINA_FRAMEBUFFER
      Deprecated.
    • COCOA_FRAME_NAME

      public static final WindowHint COCOA_FRAME_NAME
    • COCOA_GRAPHICS_SWITCHING

      public static final WindowHint COCOA_GRAPHICS_SWITCHING
    • X11_CLASS_NAME

      public static final WindowHint X11_CLASS_NAME
    • X11_INSTANCE_NAME

      public static final WindowHint X11_INSTANCE_NAME
    • WIN32_KEYBOARD_MENU

      public static final WindowHint WIN32_KEYBOARD_MENU
    • WIN32_SHOWDEFAULT

      public static final WindowHint WIN32_SHOWDEFAULT
    • WAYLAND_APP_ID

      public static final WindowHint WAYLAND_APP_ID
    • SAMPLES

      public static final WindowHint SAMPLES
    • DOUBLEBUFFER

      public static final WindowHint DOUBLEBUFFER
      Specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint. Possible values are GLFW_TRUE and GLFW_FALSE.
  • Method Details

    • values

      public static WindowHint[] 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 WindowHint 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
    • value

      public final int value()