Package com.mojang.blaze3d
Class GraphicsWorkarounds
java.lang.Object
com.mojang.blaze3d.GraphicsWorkarounds
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final WeakReference<GpuDevice> private static GraphicsWorkaroundsprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GraphicsWorkaroundsbooleanprivate static booleanisGlOnDx12(GpuDevice device) private static booleanisIntelGen11(GpuDevice device)
-
Field Details
-
INTEL_GEN11_CORE
-
INTEL_GEN11_ATOM
-
INTEL_GEN11_CELERON
-
INTEL_GEN11_PENTIUM
-
instance
-
gpuDevice
-
alwaysCreateFreshImmediateBuffer
private final boolean alwaysCreateFreshImmediateBuffer -
isGlOnDx12
private final boolean isGlOnDx12
-
-
Constructor Details
-
GraphicsWorkarounds
-
-
Method Details
-
get
-
alwaysCreateFreshImmediateBuffer
public boolean alwaysCreateFreshImmediateBuffer() -
isGlOnDx12
public boolean isGlOnDx12() -
isIntelGen11
-
isGlOnDx12
-