Package net.minecraft.client.renderer
Class GpuWarnlistManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
net.minecraft.client.renderer.GpuWarnlistManager
- All Implemented Interfaces:
PreparableReloadListener
public class GpuWarnlistManager
extends SimplePreparableReloadListener<GpuWarnlistManager.Preparations>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final org.slf4j.Logger
private boolean
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply
(GpuWarnlistManager.Preparations p_109226_, ResourceManager p_109227_, ProfilerFiller p_109228_) private static void
compilePatterns
(com.google.gson.JsonArray p_109223_, List<Pattern> p_109224_) void
void
boolean
boolean
boolean
private static com.google.gson.JsonObject
parseJson
(ResourceManager p_109245_, ProfilerFiller p_109246_) protected GpuWarnlistManager.Preparations
prepare
(ResourceManager p_109220_, ProfilerFiller p_109221_) void
void
boolean
Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
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.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
GPU_WARNLIST_LOCATION
-
warnings
-
showWarning
private boolean showWarning -
warningDismissed
private boolean warningDismissed -
skipFabulous
private boolean skipFabulous
-
-
Constructor Details
-
GpuWarnlistManager
public GpuWarnlistManager()
-
-
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
protected GpuWarnlistManager.Preparations prepare(ResourceManager p_109220_, ProfilerFiller p_109221_) - Specified by:
prepare
in classSimplePreparableReloadListener<GpuWarnlistManager.Preparations>
-
apply
protected void apply(GpuWarnlistManager.Preparations p_109226_, ResourceManager p_109227_, ProfilerFiller p_109228_) - Specified by:
apply
in classSimplePreparableReloadListener<GpuWarnlistManager.Preparations>
-
compilePatterns
-
parseJson
@Nullable private static com.google.gson.JsonObject parseJson(ResourceManager p_109245_, ProfilerFiller p_109246_)
-