Class VideoMode


  • public final class VideoMode
    extends java.lang.Object
    • Field Detail

      • width

        private final int width
      • height

        private final int height
      • redBits

        private final int redBits
      • greenBits

        private final int greenBits
      • blueBits

        private final int blueBits
      • refreshRate

        private final int refreshRate
      • PATTERN

        private static final java.util.regex.Pattern PATTERN
    • Constructor Detail

      • VideoMode

        public VideoMode​(int p_i47669_1_,
                         int p_i47669_2_,
                         int p_i47669_3_,
                         int p_i47669_4_,
                         int p_i47669_5_,
                         int p_i47669_6_)
      • VideoMode

        public VideoMode​(org.lwjgl.glfw.GLFWVidMode.Buffer p_i47670_1_)
      • VideoMode

        public VideoMode​(org.lwjgl.glfw.GLFWVidMode p_i47671_1_)
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getRedBits

        public int getRedBits()
      • getGreenBits

        public int getGreenBits()
      • getBlueBits

        public int getBlueBits()
      • getRefreshRate

        public int getRefreshRate()
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • read

        public static java.util.Optional<VideoMode> read​(@Nullable
                                                         java.lang.String p_198061_0_)
      • write

        public java.lang.String write()