net.minecraft.client.renderer

public class ShaderManager

extends SimplePreparableReloadListener<ShaderManager$Configs> implements AutoCloseable

All mapped superinterfaces:

PreparableReloadListener

hph
net.minecraft.client.renderer.ShaderManager
net.minecraft.class_10151
net.minecraft.client.gl.ShaderLoader
net.minecraft.src.C_345899_

字段概要

修饰符与类型字段
static final org.slf4j.Logger
c
LOGGER
field_53937
LOGGER
f_346228_
public static final int
a
MAX_LOG_LENGTH
field_53936
field_53936
f_348348_
public static final String
b
SHADER_PATH
field_53934
SHADERS_PATH
f_349013_
private static final String
d
SHADER_INCLUDE_PATH
field_53935
INCLUDE_PATH
f_348823_
private static final FileToIdConverter
e
POST_CHAIN_ID_CONVERTER
field_53939
POST_EFFECT_FINDER
f_349557_
final TextureManager
f
textureManager
field_53940
textureManager
f_346812_
private final Consumer<Exception>
g
recoveryHandler
field_54019
onError
f_347216_
private ShaderManager$CompilationCache
h
compilationCache
field_54020
cache
f_347744_
final CachedOrthoProjectionMatrixBuffer
i
postChainProjectionMatrixBuffer
field_60129
projectionMatrix
f_399229_

构造函数概要

修饰符构造函数
public (TextureManager textureManager, Consumer<Exception> onError)

方法概要

修饰符与类型方法
protected ShaderManager$Configs
a(baz arg0, bzm arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_62942(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_362646_, C_442_ arg1)
private static void
a(amo arg0, bax arg1, ShaderType arg2, Map<amo, bax> arg3, com.google.common.collect.ImmutableMap$Builder<hph$d, String> arg4)
loadShader(Identifier arg0, Resource arg1, ShaderType arg2, Map<Identifier, 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_353561_(C_432211_ p_455103_, C_76_ p_361062_, ShaderType p_391859_, Map<C_432211_, C_76_> p_367069_, com.google.common.collect.ImmutableMap$Builder<C_345899_$C_346008_, String> p_365134_)
private static GlslPreprocessor
a(Map<amo, bax> arg0, amo arg1)
createPreprocessor(Map<Identifier, Resource> arg0, Identifier arg1)
method_62950(Map<class_2960, class_3298> arg0, class_2960 arg1)
createImportProcessor(Map<Identifier, Resource> allResources, Identifier id)
m_357542_(Map<C_432211_, C_76_> p_367930_, C_432211_ p_450691_)
private static void
a(amo arg0, bax arg1, com.google.common.collect.ImmutableMap$Builder<amo, how> arg2)
loadPostChain(Identifier arg0, Resource arg1, com.google.common.collect.ImmutableMap$Builder<Identifier, 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_357246_(C_432211_ p_460217_, C_76_ p_365135_, com.google.common.collect.ImmutableMap$Builder<C_432211_, C_345900_> p_362996_)
private static boolean
a(amo arg0)
isShader(Identifier arg0)
method_62952(class_2960 arg0)
isShaderSource(Identifier id)
m_356230_(C_432211_ p_455622_)
protected void
a(hph$c arg0, baz arg1, bzm 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_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_372282_(Exception arg0)
public PostChain
a(amo arg0, Set<amo> arg1)
getPostChain(Identifier arg0, Set<Identifier> arg1)
method_62941(class_2960 arg0, Set<class_2960> arg1)
loadPostEffect(Identifier id, Set<Identifier> availableExternalTargets)
m_354570_(C_432211_ p_362698_, Set<C_432211_> arg1)
public void
close()
close()
close()
public String
a(amo arg0, ShaderType arg1)
getShader(Identifier arg0, ShaderType arg1)
method_68496(class_2960 arg0, ShaderType arg1)
getSource(Identifier id, ShaderType type)
m_384154_(C_432211_ p_393108_, ShaderType arg1)