Class CachedShaderCompiler

java.lang.Object
foundry.veil.impl.client.render.shader.DirectShaderCompiler
foundry.veil.impl.client.render.shader.CachedShaderCompiler
All Implemented Interfaces:
ShaderCompiler, AutoCloseable, org.lwjgl.system.NativeResource

@Internal public class CachedShaderCompiler extends DirectShaderCompiler
Attempts to cache the exact same shader sources to reduce the number of compiled shaders.
  • Constructor Details

    • CachedShaderCompiler

      public CachedShaderCompiler(@Nullable @Nullable net.minecraft.server.packs.resources.ResourceProvider provider)
  • Method Details