public final class VideoMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
blueBits |
private int |
greenBits |
private int |
height |
private static java.util.regex.Pattern |
PATTERN |
private int |
redBits |
private int |
refreshRate |
private int |
width |
Constructor and Description |
---|
VideoMode(org.lwjgl.glfw.GLFWVidMode.Buffer buffer) |
VideoMode(org.lwjgl.glfw.GLFWVidMode glfwVidMode) |
VideoMode(int widthIn,
int heightIn,
int redBitsIn,
int greenBitsIn,
int blueBitsIn,
int refreshRateIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getBlueBits() |
int |
getGreenBits() |
int |
getHeight() |
int |
getRedBits() |
int |
getRefreshRate() |
java.lang.String |
getSettingsString() |
int |
getWidth() |
int |
hashCode() |
static java.util.Optional<VideoMode> |
parseFromSettings(java.lang.String videoModeIn) |
java.lang.String |
toString() |
private final int width
private final int height
private final int redBits
private final int greenBits
private final int blueBits
private final int refreshRate
private static final java.util.regex.Pattern PATTERN
public VideoMode(int widthIn, int heightIn, int redBitsIn, int greenBitsIn, int blueBitsIn, int refreshRateIn)
public VideoMode(org.lwjgl.glfw.GLFWVidMode.Buffer buffer)
public VideoMode(org.lwjgl.glfw.GLFWVidMode glfwVidMode)
public int getWidth()
public int getHeight()
public int getRedBits()
public int getGreenBits()
public int getBlueBits()
public int getRefreshRate()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.Optional<VideoMode> parseFromSettings(@Nullable java.lang.String videoModeIn)
public java.lang.String getSettingsString()