Class VideoMode

java.lang.Object
net.minecraft.client.renderer.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_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 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_equals_1_)
      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_198061_0_)
    • write

      public String write()