net.minecraft.client.renderer

public class ShaderManager

extends SimplePreparableReloadListener<ShaderManager$Configs> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

gsu
net.minecraft.client.renderer.ShaderManager
net.minecraft.class_10151
net.minecraft.client.gl.ShaderLoader

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ShaderManager$Configs
a(avh arg0, brd arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
private static void
a(alk arg0, avf arg1, fky arg2, Map<alk, avf> arg3, com.google.common.collect.ImmutableMap$Builder<gsu$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, class_282 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)
private static GlslPreprocessor
a(Map<alk, avf> arg0, alk 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)
private static void
a(alk arg0, avf arg1, com.google.common.collect.ImmutableMap$Builder<alk, gsh> 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)
private static boolean
a(alk arg0)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
protected void
a(gsu$c arg0, avh arg1, brd 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)
public String
getName()
getName()
method_22322()
getName()
private void
a(Exception arg0)
tryTriggerRecovery(Exception arg0)
method_65232(Exception arg0)
handleError(Exception exception)
public PostChain
a(alk arg0, Set<alk> arg1)
getPostChain(ResourceLocation arg0, Set<ResourceLocation> arg1)
method_62941(class_2960 arg0, Set<class_2960> arg1)
loadPostEffect(Identifier id, Set<Identifier> availableExternalTargets)
public void
close()
close()
public String
a(alk arg0, fky arg1)
getShader(ResourceLocation arg0, ShaderType arg1)
method_68496(class_2960 arg0, class_282 arg1)
getSource(Identifier id, ShaderType type)