Class VanillaShaderCompiler

java.lang.Object
foundry.veil.impl.client.render.dynamicbuffer.VanillaShaderCompiler

public class VanillaShaderCompiler extends Object
  • 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

      public static void markRendered(String shaderInstace)
    • clear

      public static void clear()