Class SimpleShaderProcessor

java.lang.Object
foundry.veil.impl.client.render.shader.SimpleShaderProcessor

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

    • SimpleShaderProcessor

      public SimpleShaderProcessor()
  • Method Details

    • setup

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

      public static void free()
    • modify

      public static String modify(@Nullable @Nullable String shaderInstance, @Nullable @Nullable net.minecraft.resources.ResourceLocation name, @Nullable @Nullable com.mojang.blaze3d.vertex.VertexFormat vertexFormat, int type, String source) throws IOException
      Throws:
      IOException