net.minecraft.client.renderer

public class ShaderManager

extends SimplePreparableReloadListener<ShaderManager$Configs> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

gmq
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(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
private static void
a(akv arg0, aun arg1, ffk$a arg2, Map<akv, aun> arg3, com.google.common.collect.ImmutableMap$Builder<gmq$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<akv, aun> arg0, akv 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(akv arg0, aun arg1, com.google.common.collect.ImmutableMap$Builder<akv, gms> 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(akv arg0, aun arg1, com.google.common.collect.ImmutableMap$Builder<akv, gme> 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(akv arg0)
isProgram(ResourceLocation arg0)
method_62937(class_2960 arg0)
isDefinition(Identifier id)
private static boolean
b(akv arg0)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
protected void
a(gmq$c arg0, aup arg1, bou 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()
private void
a(Exception arg0)
tryTriggerRecovery(Exception arg0)
method_65232(Exception arg0)
handleError(Exception exception)
public void
a(aus arg0, gmr... arg1)
preloadForStartup(ResourceProvider arg0, ShaderProgram... arg1)
method_62944(class_5912 arg0, class_10156... arg1)
preload(ResourceFactory factory, ShaderProgramKey... keys)
private CompiledShader
a(aus arg0, akv arg1, ffk$a arg2, gmp 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(gmr arg0)
getProgram(ShaderProgram arg0)
method_62947(class_10156 arg0)
getOrCreateProgram(ShaderProgramKey key)
public CompiledShaderProgram
b(gmr arg0)
getProgramForLoading(ShaderProgram arg0)
method_64062(class_10156 arg0)
getProgramToLoad(ShaderProgramKey key)
static CompiledShaderProgram
a(gmr arg0, gms arg1, ffk arg2, ffk 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(akv arg0, Set<akv> 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()