Class VanillaShaderCompiler
java.lang.Object
foundry.veil.impl.client.render.dynamicbuffer.VanillaShaderCompiler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
boolean
static void
markRendered
(String shaderInstace) reload
(Collection<net.minecraft.client.renderer.ShaderInstance> shaders) Attempts to preload all vanilla minecraft shader files before creating the shaders on the CPU.
-
Constructor Details
-
VanillaShaderCompiler
public VanillaShaderCompiler()
-
-
Method Details
-
reload
public CompletableFuture<?> reload(Collection<net.minecraft.client.renderer.ShaderInstance> shaders) Attempts to preload all vanilla minecraft shader files before creating the shaders on the CPU.- Parameters:
shaders
- The shaders to reload- Returns:
- A future for when vanilla shaders have reloaded
-
isCompilingShaders
public boolean isCompilingShaders() -
markRendered
-
clear
public static void clear()
-