@Environment(value=CLIENT) public class GLX extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
capsString |
private static String |
cpuInfo |
private static Logger |
LOGGER |
private static Map<Integer,String> |
LOOKUP_MAP |
Constructor and Description |
---|
GLX() |
Modifier and Type | Method and Description |
---|---|
static String |
_getCapsString() |
static String |
_getCpuInfo() |
static String |
_getLWJGLVersion() |
static int |
_getRefreshRate(Window window) |
static void |
_init(int debugVerbosity,
boolean debugSync) |
static LongSupplier |
_initGlfw() |
static void |
_renderCrosshair(int size,
boolean drawX,
boolean drawY,
boolean drawZ) |
static void |
_setGlfwErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI callback) |
static void |
_setupNvFogDistance() |
static boolean |
_shouldClose(Window window) |
static String |
getErrorString(int code) |
static String |
getOpenGLVersionString() |
static <T> T |
make(Supplier<T> factory) |
static <T> T |
make(T object,
Consumer<T> initializer) |
private static final Logger LOGGER
private static String capsString
private static String cpuInfo
public static String getOpenGLVersionString()
public static int _getRefreshRate(Window window)
public static String _getLWJGLVersion()
public static LongSupplier _initGlfw()
public static void _setGlfwErrorCallback(org.lwjgl.glfw.GLFWErrorCallbackI callback)
public static boolean _shouldClose(Window window)
public static void _setupNvFogDistance()
public static void _init(int debugVerbosity, boolean debugSync)
public static String _getCapsString()
public static String _getCpuInfo()
public static void _renderCrosshair(int size, boolean drawX, boolean drawY, boolean drawZ)
public static String getErrorString(int code)
public static <T> T make(Supplier<T> factory)
public static <T> T make(T object, Consumer<T> initializer)