Package net.minecraft.client.renderer
Class GPUWarning
java.lang.Object
net.minecraft.client.resources.ReloadListener<GPUWarning.GPUInfo>
net.minecraft.client.renderer.GPUWarning
- All Implemented Interfaces:
IFutureReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final org.apache.logging.log4j.Logger
private boolean
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply
(GPUWarning.GPUInfo p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) private static void
compilePatterns
(com.google.gson.JsonArray p_241693_0_, List<Pattern> p_241693_1_) void
void
boolean
boolean
boolean
private static com.google.gson.JsonObject
parseJson
(IResourceManager p_241696_0_, IProfiler p_241696_1_) protected GPUWarning.GPUInfo
prepare
(IResourceManager p_212854_1_, IProfiler p_212854_2_) void
void
boolean
Methods inherited from class net.minecraft.client.resources.ReloadListener
reload
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GPU_WARNLIST_LOCATION
-
warnings
-
showWarning
private boolean showWarning -
warningDismissed
private boolean warningDismissed -
skipFabulous
private boolean skipFabulous
-
-
Constructor Details
-
GPUWarning
public GPUWarning()
-
-
Method Details
-
hasWarnings
public boolean hasWarnings() -
willShowWarning
public boolean willShowWarning() -
showWarning
public void showWarning() -
dismissWarning
public void dismissWarning() -
dismissWarningAndSkipFabulous
public void dismissWarningAndSkipFabulous() -
isShowingWarning
public boolean isShowingWarning() -
isSkippingFabulous
public boolean isSkippingFabulous() -
resetWarnings
public void resetWarnings() -
getRendererWarnings
-
getVersionWarnings
-
getVendorWarnings
-
getAllWarnings
-
prepare
- Specified by:
prepare
in classReloadListener<GPUWarning.GPUInfo>
-
apply
protected void apply(GPUWarning.GPUInfo p_212853_1_, IResourceManager p_212853_2_, IProfiler p_212853_3_) - Specified by:
apply
in classReloadListener<GPUWarning.GPUInfo>
-
compilePatterns
-
parseJson
@Nullable private static com.google.gson.JsonObject parseJson(IResourceManager p_241696_0_, IProfiler p_241696_1_)
-