net.minecraft.client.gl

public class ShaderLoader

extends SinglePreparationResourceReloader<ShaderLoader$Definitions> implements AutoCloseable

All mapped superinterfaces:

ResourceReloader

gyf
net.minecraft.client.renderer.ShaderManager
net.minecraft.class_10151
net.minecraft.client.gl.ShaderLoader
net.minecraft.unmapped.C_fpwiwmrb
net.minecraft.unmapped.C_fpwiwmrb
net.minecraft.src.C_345899_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
c
LOGGER
field_53937
LOGGER
f_mrzvkimn
LOGGER
f_346228_
public static final int
a
MAX_LOG_LENGTH
field_53936
field_53936
f_mskmbksx
f_348348_
public static final String
b
SHADER_PATH
field_53934
SHADERS_PATH
f_egmgnxuk
f_349013_
private static final String
d
SHADER_INCLUDE_PATH
field_53935
INCLUDE_PATH
f_vtaweuqa
f_348823_
private static final ResourceFinder
e
POST_CHAIN_ID_CONVERTER
field_53939
POST_EFFECT_FINDER
f_ltnziacp
f_349557_
final TextureManager
f
textureManager
field_53940
textureManager
f_fpklcmcy
f_346812_
private final Consumer<Exception>
g
recoveryHandler
field_54019
onError
f_syxgrzbr
f_347216_
private ShaderLoader$Cache
h
compilationCache
field_54020
cache
f_gitwzrze
f_347744_
final ProjectionMatrix2
i
postChainProjectionMatrixBuffer
field_60129
projectionMatrix
f_wyprdixf
f_399229_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ShaderLoader$Definitions
a(axo o, btt arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_mvvntbcd(C_tmnrpasf arg0, C_eslcbfsq arg1)
prepare(ResourceManager resourceManager, Profiler profiler)
m_5944_(C_77_ p_362646_, C_442_ arg1)
private static void
a(ame o, axm o, ShaderType o, Map<ame, axm> o, com.google.common.collect.ImmutableMap$Builder<gyf$d, String> o)
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_fztjlkai(C_ncpywfca arg0, C_tuynegco arg1, com.mojang.blaze3d.shaders.ShaderType arg2, Map<C_ncpywfca, C_tuynegco> arg3, com.google.common.collect.ImmutableMap$Builder<C_fpwiwmrb$C_exdubsui, String> arg4)
m_fztjlkai(Identifier id, Resource arg1, com.mojang.blaze3d.shaders.ShaderType 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_, 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 GlImportProcessor
a(Map<ame, axm> o, ame o)
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_ibcsbyrc(Map<C_ncpywfca, C_tuynegco> arg0, C_ncpywfca arg1)
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(ame o, axm o, com.google.common.collect.ImmutableMap$Builder<ame, gxs> o)
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_mpuurtka(C_ncpywfca arg0, C_tuynegco arg1, com.google.common.collect.ImmutableMap$Builder<C_ncpywfca, C_vxcudcpg> arg2)
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(ame o)
isShader(ResourceLocation arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
m_sijdccjd(C_ncpywfca arg0)
m_sijdccjd(Identifier id)
m_356230_(C_5265_ p_368473_)
protected void
a(gyf$c o, axo o, btt 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_qyjdqkiw(C_fpwiwmrb$C_shwjsezb arg0, C_tmnrpasf arg1, C_eslcbfsq 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
getName()
getName()
method_22322()
getName()
m_7812_()
private void
a(Exception arg0)
tryTriggerRecovery(Exception arg0)
method_65232(Exception arg0)
handleError(Exception exception)
m_krhrcwbf(Exception arg0)
m_372282_(Exception arg0)
public PostEffectProcessor
a(ame o, Set<ame> arg1)
getPostChain(ResourceLocation arg0, Set<ResourceLocation> arg1)
method_62941(class_2960 arg0, Set<class_2960> arg1)
loadPostEffect(Identifier id, Set<Identifier> availableExternalTargets)
m_vzmrsuqm(C_ncpywfca arg0, Set<C_ncpywfca> arg1)
m_vzmrsuqm(Identifier id, Set<Identifier> set2)
m_354570_(C_5265_ p_362698_, Set<C_5265_> arg1)
public void
close()
close()
close()
public String
a(ame o, ShaderType arg1)
getShader(ResourceLocation arg0, ShaderType arg1)
method_68496(class_2960 arg0, ShaderType arg1)
getSource(Identifier id, ShaderType type)
m_fymiiqrb(C_ncpywfca arg0, com.mojang.blaze3d.shaders.ShaderType arg1)
m_fymiiqrb(Identifier id, com.mojang.blaze3d.shaders.ShaderType type)
m_384154_(C_5265_ p_393108_, ShaderType arg1)