Package net.minecraft.client.util
Class VideoMode
java.lang.Object
net.minecraft.client.util.VideoMode
@Environment(CLIENT) public final class VideoMode extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VideoMode(int int2, int int3, int int4, int int5, int int6, int int7)
VideoMode(GLFWVidMode gLFWVidMode)
VideoMode(GLFWVidMode.Buffer buffer)
-
Method Summary
Modifier and Type Method 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()
-
Field Details
-
PATTERN
-
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
-
-
Constructor Details
-
VideoMode
public VideoMode(int int2, int int3, int int4, int int5, int int6, int int7) -
VideoMode
-
VideoMode
-
-
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
-
hashCode
public int hashCode() -
toString
-
fromString
-
asString
-