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.unmapped.C_fpwiwmrb
net.minecraft.client.gl.ShaderLoader
net.minecraft.unmapped.C_fpwiwmrb
net.minecraft.src.C_345899_

Field summary

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

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)
m_mvvntbcd(C_tmnrpasf arg0, C_eslcbfsq arg1)
prepare(ResourceManager arg0, Profiler arg1)
prepare(ResourceManager resourceManager, Profiler profiler)
m_5944_(C_77_ p_362646_, C_442_ 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)
m_fztjlkai(C_ncpywfca arg0, C_tuynegco arg1, C_ycbckgjc$C_sqzcsgmd arg2, Map<C_ncpywfca, C_tuynegco> arg3, com.google.common.collect.ImmutableMap$Builder<C_fpwiwmrb$C_exdubsui, String> arg4)
loadShaderSource(Identifier id, Resource resource, CompiledShader$Type type, Map<Identifier, Resource> allResources, com.google.common.collect.ImmutableMap$Builder<ShaderLoader$ShaderSourceKey, String> builder)
m_fztjlkai(Identifier id, Resource arg1, C_ycbckgjc$C_sqzcsgmd type, Map<Identifier, Resource> arg3, com.google.common.collect.ImmutableMap$Builder<C_fpwiwmrb$C_exdubsui, String> arg4)
m_353561_(C_5265_ p_369261_, C_76_ p_361062_, C_346129_$C_345946_ p_365455_, 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<alz, avt> arg0, alz arg1)
createPreprocessor(Map<ResourceLocation, Resource> arg0, ResourceLocation arg1)
method_62950(Map<class_2960, class_3298> arg0, class_2960 arg1)
m_ibcsbyrc(Map<C_ncpywfca, C_tuynegco> arg0, C_ncpywfca arg1)
createImportProcessor(Map<Identifier, Resource> allResources, Identifier id)
m_ibcsbyrc(Map<Identifier, Resource> arg0, Identifier id)
m_357542_(Map<C_5265_, C_76_> p_367930_, C_5265_ p_369394_)
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)
m_tfrxwjyc(C_ncpywfca arg0, C_tuynegco arg1, com.google.common.collect.ImmutableMap$Builder<C_ncpywfca, C_gcohsdze> arg2)
loadDefinition(Identifier id, Resource resource, com.google.common.collect.ImmutableMap$Builder<Identifier, ShaderProgramDefinition> builder)
m_tfrxwjyc(Identifier id, Resource arg1, com.google.common.collect.ImmutableMap$Builder<Identifier, C_gcohsdze> arg2)
m_352389_(C_5265_ p_365990_, C_76_ p_366934_, com.google.common.collect.ImmutableMap$Builder<C_5265_, C_346021_> p_366842_)
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)
m_mpuurtka(C_ncpywfca arg0, C_tuynegco arg1, com.google.common.collect.ImmutableMap$Builder<C_ncpywfca, C_vxcudcpg> arg2)
loadPostEffect(Identifier id, Resource resource, com.google.common.collect.ImmutableMap$Builder<Identifier, PostEffectPipeline> builder)
m_mpuurtka(Identifier id, Resource arg1, com.google.common.collect.ImmutableMap$Builder<Identifier, ShaderEffectConfig> arg2)
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(alz arg0)
isProgram(ResourceLocation arg0)
method_62937(class_2960 arg0)
m_ekymqmca(C_ncpywfca arg0)
isDefinition(Identifier id)
m_ekymqmca(Identifier id)
m_354129_(C_5265_ p_368414_)
private static boolean
b(alz arg0)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
m_sijdccjd(C_ncpywfca arg0)
isShaderSource(Identifier id)
m_sijdccjd(Identifier id)
m_356230_(C_5265_ p_368473_)
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)
m_qyjdqkiw(C_fpwiwmrb$C_shwjsezb arg0, C_tmnrpasf arg1, C_eslcbfsq arg2)
apply(ShaderLoader$Definitions arg0, ResourceManager arg1, Profiler arg2)
apply(C_fpwiwmrb$C_shwjsezb arg0, ResourceManager resourceManager, Profiler profiler)
m_5787_(C_345899_$C_345636_ p_369986_, C_77_ p_364135_, C_442_ arg2)
public String
c()
getName()
method_22322()
m_xcuczpmx()
getName()
getName()
m_7812_()
public void
a(avy arg0, gmd... arg1)
preloadForStartup(ResourceProvider arg0, ShaderProgram... arg1)
method_62944(class_5912 arg0, class_10156... arg1)
m_omauhdvx(C_xadhkzfq arg0, C_amxeyjrr... arg1)
preload(ResourceFactory factory, ShaderProgramKey... keys)
m_353287_(C_140974_ p_362777_, C_346165_... arg1)
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)
m_oorqpcud(C_xadhkzfq arg0, C_ncpywfca arg1, C_ycbckgjc$C_sqzcsgmd arg2, C_wechclhy arg3)
compileShader(ResourceFactory factory, Identifier id, CompiledShader$Type type, Defines defines)
m_oorqpcud(ResourceFactory arg0, Identifier id, C_ycbckgjc$C_sqzcsgmd arg2, C_wechclhy arg3)
m_356670_(C_140974_ p_360916_, C_5265_ p_362265_, C_346129_$C_345946_ p_368503_, C_346062_ arg3)
public CompiledShaderProgram
a(gmd arg0)
getProgram(ShaderProgram arg0)
method_62947(class_10156 arg0)
m_kpkwmvle(C_amxeyjrr arg0)
getOrCreateProgram(ShaderProgramKey key)
m_353645_(C_346165_ arg0)
public CompiledShaderProgram
b(gmd arg0)
getProgramForLoading(ShaderProgram arg0)
method_64062(class_10156 arg0)
m_qgstjfrs(C_amxeyjrr arg0)
getProgramToLoad(ShaderProgramKey key)
m_352132_(C_346165_ arg0)
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)
m_vwtvvgpn(C_amxeyjrr arg0, C_gcohsdze arg1, C_ycbckgjc arg2, C_ycbckgjc arg3)
createProgram(ShaderProgramKey key, ShaderProgramDefinition definition, CompiledShader vertexShader, CompiledShader fragmentShader)
m_353571_(C_346165_ p_368435_, C_346021_ p_369334_, C_346129_ p_361097_, C_346129_ p_364151_)
public PostChain
a(alz arg0, Set<alz> arg1)
getPostChain(ResourceLocation arg0, Set<ResourceLocation> arg1)
method_62941(class_2960 arg0, Set<class_2960> arg1)
m_vzmrsuqm(C_ncpywfca arg0, Set<C_ncpywfca> arg1)
loadPostEffect(Identifier id, Set<Identifier> availableExternalTargets)
m_vzmrsuqm(Identifier id, Set<Identifier> set2)
m_354570_(C_5265_ p_362698_, Set<C_5265_> arg1)
public void
close()
close()
close()