@Environment(value=CLIENT) public final class VideoMode extends Object
Modifier and Type | Field and Description |
---|---|
private int |
blueBits |
private int |
greenBits |
private int |
height |
private static 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 int2,
int int3,
int int4,
int int5,
int int6,
int int7) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
boolean |
equals(Object o) |
static Optional<VideoMode> |
fromString(String string) |
int |
getBlueBits() |
int |
getGreenBits() |
int |
getHeight() |
int |
getRedBits() |
int |
getRefreshRate() |
int |
getWidth() |
int |
hashCode() |
String |
toString() |
private static final Pattern PATTERN
private final int width
private final int height
private final int redBits
private final int greenBits
private final int blueBits
private final int refreshRate
public VideoMode(int int2, int int3, int int4, int int5, int int6, int int7)
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 String asString()