Class VanillaShaderProcessor

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static String
    modify(Map<String,Object> customProgramData, @Nullable String shaderInstance, @Nullable net.minecraft.resources.ResourceLocation name, @Nullable com.mojang.blaze3d.vertex.VertexFormat vertexFormat, int activeBuffers, int type, String source, org.lwjgl.opengl.GLCapabilities glCapabilities)
     
    static void
    setup(net.minecraft.server.packs.resources.ResourceProvider provider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VanillaShaderProcessor

      public VanillaShaderProcessor()
  • Method Details

    • setup

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

      public static void free()
    • modify

      public static String modify(Map<String,Object> customProgramData, @Nullable @Nullable String shaderInstance, @Nullable @Nullable net.minecraft.resources.ResourceLocation name, @Nullable @Nullable com.mojang.blaze3d.vertex.VertexFormat vertexFormat, int activeBuffers, int type, String source, org.lwjgl.opengl.GLCapabilities glCapabilities) 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