Class VideoMode

java.lang.Object
com.mojang.blaze3d.platform.VideoMode

public final class VideoMode extends Object
  • Field Details

    • 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 Pattern PATTERN
  • Constructor Details

    • VideoMode

      public VideoMode(int p_85322_, int p_85323_, int p_85324_, int p_85325_, int p_85326_, int p_85327_)
    • VideoMode

      public VideoMode(org.lwjgl.glfw.GLFWVidMode.Buffer p_85329_)
    • VideoMode

      public VideoMode(org.lwjgl.glfw.GLFWVidMode p_85331_)
  • Method Details

    • 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(Object p_85340_)
      Overrides:
      equals in class Object
    • hashCode

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

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

      public static Optional<VideoMode> read(@Nullable String p_85334_)
    • write

      public String write()