net.minecraft.client.renderer

public class ShaderManager

extends SimplePreparableReloadListener<ShaderManager$Configs> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

gsf
net.minecraft.client.renderer.ShaderManager
net.minecraft.class_10151
net.minecraft.client.gl.ShaderLoader
net.minecraft.src.C_345899_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
c
LOGGER
field_53937
LOGGER
f_346228_
public static final int
a
MAX_LOG_LENGTH
field_53936
field_53936
f_348348_
public static final String
b
SHADER_PATH
field_53934
SHADERS_PATH
f_349013_
private static final String
d
SHADER_INCLUDE_PATH
field_53935
INCLUDE_PATH
f_348823_
private static final FileToIdConverter
e
POST_CHAIN_ID_CONVERTER
field_53939
POST_EFFECT_FINDER
f_349557_
final TextureManager
f
textureManager
field_53940
textureManager
f_346812_
private final Consumer<Exception>
g
recoveryHandler
field_54019
onError
f_347216_
private ShaderManager$CompilationCache
h
compilationCache
field_54020
cache
f_347744_

Constructor summary

ModifierConstructor
public (TextureManager textureManager, Consumer<Exception> onError)

Method summary

Modifier and TypeMethod
protected ShaderManager$Configs
a(avo arg0, brm arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_362646_, C_442_ arg1)
private static void
a(alr arg0, avm arg1, ShaderType arg2, Map<alr, avm> arg3, com.google.common.collect.ImmutableMap$Builder<gsf$d, String> arg4)
loadShader(ResourceLocation arg0, Resource arg1, ShaderType arg2, Map<ResourceLocation, Resource> arg3, com.google.common.collect.ImmutableMap$Builder<ShaderManager$ShaderSourceKey, String> arg4)
method_62939(class_2960 arg0, class_3298 arg1, ShaderType arg2, Map<class_2960, class_3298> arg3, com.google.common.collect.ImmutableMap$Builder<class_10151$class_10155, String> arg4)
loadShaderSource(Identifier id, Resource resource, ShaderType type, Map<Identifier, Resource> allResources, com.google.common.collect.ImmutableMap$Builder<ShaderLoader$ShaderSourceKey, String> builder)
m_353561_(C_5265_ p_369261_, C_76_ p_361062_, ShaderType p_391859_, Map<C_5265_, C_76_> p_367069_, com.google.common.collect.ImmutableMap$Builder<C_345899_$C_346008_, String> p_365134_)
private static GlslPreprocessor
a(Map<alr, avm> arg0, alr arg1)
createPreprocessor(Map<ResourceLocation, Resource> arg0, ResourceLocation arg1)
method_62950(Map<class_2960, class_3298> arg0, class_2960 arg1)
createImportProcessor(Map<Identifier, Resource> allResources, Identifier id)
m_357542_(Map<C_5265_, C_76_> p_367930_, C_5265_ p_369394_)
private static void
a(alr arg0, avm arg1, com.google.common.collect.ImmutableMap$Builder<alr, grs> arg2)
loadPostChain(ResourceLocation arg0, Resource arg1, com.google.common.collect.ImmutableMap$Builder<ResourceLocation, PostChainConfig> arg2)
method_62953(class_2960 arg0, class_3298 arg1, com.google.common.collect.ImmutableMap$Builder<class_2960, class_9962> arg2)
loadPostEffect(Identifier id, Resource resource, com.google.common.collect.ImmutableMap$Builder<Identifier, PostEffectPipeline> builder)
m_357246_(C_5265_ p_365599_, C_76_ p_365135_, com.google.common.collect.ImmutableMap$Builder<C_5265_, C_345900_> p_362996_)
private static boolean
a(alr arg0)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
m_356230_(C_5265_ p_368473_)
protected void
a(gsf$c arg0, avo arg1, brm arg2)
apply(ShaderManager$Configs arg0, ResourceManager arg1, ProfilerFiller arg2)
method_62945(class_10151$class_10153 arg0, class_3300 arg1, class_3695 arg2)
apply(ShaderLoader$Definitions arg0, ResourceManager arg1, Profiler arg2)
m_5787_(C_345899_$C_345636_ p_369986_, C_77_ p_364135_, C_442_ arg2)
public String
getName()
getName()
method_22322()
getName()
m_7812_()
private void
a(Exception arg0)
tryTriggerRecovery(Exception arg0)
method_65232(Exception arg0)
handleError(Exception exception)
m_372282_(Exception arg0)
public PostChain
a(alr arg0, Set<alr> arg1)
getPostChain(ResourceLocation arg0, Set<ResourceLocation> arg1)
method_62941(class_2960 arg0, Set<class_2960> arg1)
loadPostEffect(Identifier id, Set<Identifier> availableExternalTargets)
m_354570_(C_5265_ p_362698_, Set<C_5265_> arg1)
public void
close()
close()
close()
public String
a(alr arg0, ShaderType arg1)
getShader(ResourceLocation arg0, ShaderType arg1)
method_68496(class_2960 arg0, ShaderType arg1)
getSource(Identifier id, ShaderType type)
m_384154_(C_5265_ p_393108_, ShaderType arg1)