Package com.mojang.blaze3d.platform
Class GlDebug
java.lang.Object
com.mojang.blaze3d.platform.GlDebug
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static boolean
private static GlDebug.LogEntry
private static final org.slf4j.Logger
private static final Queue<GlDebug.LogEntry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
enableDebugCallback
(int p_84050_, boolean p_84051_) static boolean
private static void
printDebugLog
(int p_84039_, int p_84040_, int p_84041_, int p_84042_, int p_84043_, long p_84044_, long p_84045_) private static String
printUnknownToken
(int p_84037_) static String
severityToString
(int p_84060_) static String
sourceToString
(int p_84056_) static String
typeToString
(int p_84058_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CIRCULAR_LOG_SIZE
private static final int CIRCULAR_LOG_SIZE- See Also:
-
MESSAGE_BUFFER
-
lastEntry
-
DEBUG_LEVELS
-
DEBUG_LEVELS_ARB
-
debugEnabled
private static boolean debugEnabled
-
-
Constructor Details
-
GlDebug
public GlDebug()
-
-
Method Details
-
printUnknownToken
-
sourceToString
-
typeToString
-
severityToString
-
printDebugLog
private static void printDebugLog(int p_84039_, int p_84040_, int p_84041_, int p_84042_, int p_84043_, long p_84044_, long p_84045_) -
getLastOpenGlDebugMessages
-
isDebugEnabled
public static boolean isDebugEnabled() -
enableDebugCallback
public static void enableDebugCallback(int p_84050_, boolean p_84051_)
-