Class VideoMode
java.lang.Object
com.mojang.blaze3d.platform.VideoMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CODEC
-
GSON
-
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 float refreshRate
-
-
Constructor Details
-
VideoMode
public VideoMode(int width, int height, int redBits, int greenBits, int blueBits, int refreshRate) -
VideoMode
private VideoMode(int width, int height, int redBits, int greenBits, int blueBits, float refreshRate) -
VideoMode
public VideoMode(org.lwjgl.sdl.SDL_DisplayMode mode)
-
-
Method Details
-
read
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getRedBits
public int getRedBits() -
getGreenBits
public int getGreenBits() -
getBlueBits
public int getBlueBits() -
getRefreshRate
public float getRefreshRate() -
refreshRateLabel
-
equals
-
hashCode
-
toString
-
write
-