net.minecraft.client.renderer

public class ShaderManager

extends SimplePreparableReloadListener<ShaderManager$Configs> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ShaderManager$Configs
a(avv arg0, bpt arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
private static void
a(alz arg0, avt arg1, fgh$a arg2, Map<alz, avt> arg3, com.google.common.collect.ImmutableMap$Builder<gmc$e, String> arg4)
loadShader(ResourceLocation arg0, Resource arg1, CompiledShader$Type arg2, Map<ResourceLocation, Resource> arg3, com.google.common.collect.ImmutableMap$Builder<ShaderManager$ShaderSourceKey, String> arg4)
method_62939(class_2960 arg0, class_3298 arg1, class_10141$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, CompiledShader$Type type, Map<Identifier, Resource> allResources, com.google.common.collect.ImmutableMap$Builder<ShaderLoader$ShaderSourceKey, String> builder)
private static GlslPreprocessor
a(Map<alz, avt> arg0, alz 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(alz arg0, avt arg1, com.google.common.collect.ImmutableMap$Builder<alz, gme> arg2)
loadProgram(ResourceLocation arg0, Resource arg1, com.google.common.collect.ImmutableMap$Builder<ResourceLocation, ShaderProgramConfig> arg2)
method_62938(class_2960 arg0, class_3298 arg1, com.google.common.collect.ImmutableMap$Builder<class_2960, class_10157> arg2)
loadDefinition(Identifier id, Resource resource, com.google.common.collect.ImmutableMap$Builder<Identifier, ShaderProgramDefinition> builder)
private static void
b(alz arg0, avt arg1, com.google.common.collect.ImmutableMap$Builder<alz, glq> 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(alz arg0)
isProgram(ResourceLocation arg0)
method_62937(class_2960 arg0)
isDefinition(Identifier id)
private static boolean
b(alz arg0)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
protected void
a(gmc$c arg0, avv arg1, bpt 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
c()
getName()
method_22322()
getName()
public void
a(avy arg0, gmd... arg1)
preloadForStartup(ResourceProvider arg0, ShaderProgram... arg1)
method_62944(class_5912 arg0, class_10156... arg1)
preload(ResourceFactory factory, ShaderProgramKey... keys)
private CompiledShader
a(avy arg0, alz arg1, fgh$a arg2, gmb arg3)
preloadShader(ResourceProvider arg0, ResourceLocation arg1, CompiledShader$Type arg2, ShaderDefines arg3)
method_62943(class_5912 arg0, class_2960 arg1, class_10141$class_282 arg2, class_10149 arg3)
compileShader(ResourceFactory factory, Identifier id, CompiledShader$Type type, Defines defines)
public CompiledShaderProgram
a(gmd arg0)
getProgram(ShaderProgram arg0)
method_62947(class_10156 arg0)
getOrCreateProgram(ShaderProgramKey key)
public CompiledShaderProgram
b(gmd arg0)
getProgramForLoading(ShaderProgram arg0)
method_64062(class_10156 arg0)
getProgramToLoad(ShaderProgramKey key)
static CompiledShaderProgram
a(gmd arg0, gme arg1, fgh arg2, fgh arg3)
linkProgram(ShaderProgram arg0, ShaderProgramConfig arg1, CompiledShader arg2, CompiledShader arg3)
method_62948(class_10156 arg0, class_10157 arg1, class_10141 arg2, class_10141 arg3)
createProgram(ShaderProgramKey key, ShaderProgramDefinition definition, CompiledShader vertexShader, CompiledShader fragmentShader)
public PostChain
a(alz arg0, Set<alz> 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()