Class SodiumShaderProcessor

java.lang.Object
foundry.veil.impl.client.render.shader.processor.SodiumShaderProcessor

@Internal public class SodiumShaderProcessor extends Object
Allows vanilla and sodium shaders to use shader modifications.
  • Constructor Details

    • SodiumShaderProcessor

      public SodiumShaderProcessor()
  • Method Details

    • setup

      public static void setup(net.minecraft.server.packs.resources.ResourceProvider provider)
    • free

      public static void free()
    • modify

      public static String modify(@Nullable @Nullable net.minecraft.resources.ResourceLocation name, int activeBuffers, int type, String source) throws IOException, io.github.ocelot.glslprocessor.api.GlslSyntaxException, io.github.ocelot.glslprocessor.lib.anarres.cpp.LexerException
      Throws:
      IOException
      io.github.ocelot.glslprocessor.api.GlslSyntaxException
      io.github.ocelot.glslprocessor.lib.anarres.cpp.LexerException