Package net.minecraft.client.renderer
Class ShaderManager.CompilationCache
java.lang.Object
net.minecraft.client.renderer.ShaderManager.CompilationCache
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ShaderManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ShaderManager.Configs
(package private) final Map
<ResourceLocation, Optional<PostChain>> (package private) boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getOrLoadPostChain
(ResourceLocation p_368720_, Set<ResourceLocation> p_368722_) getShaderSource
(ResourceLocation p_409941_, ShaderType p_410764_) private PostChain
loadPostChain
(ResourceLocation p_368578_, Set<ResourceLocation> p_368581_)
-
Field Details
-
configs
-
postChains
-
triggeredRecovery
boolean triggeredRecovery
-
-
Constructor Details
-
CompilationCache
CompilationCache(ShaderManager.Configs p_368510_)
-
-
Method Details
-
getOrLoadPostChain
@Nullable public PostChain getOrLoadPostChain(ResourceLocation p_368720_, Set<ResourceLocation> p_368722_) throws ShaderManager.CompilationException -
loadPostChain
private PostChain loadPostChain(ResourceLocation p_368578_, Set<ResourceLocation> p_368581_) throws ShaderManager.CompilationException -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getShaderSource
-