Class SimpleShaderProcessor
java.lang.Object
foundry.veil.impl.client.render.shader.SimpleShaderProcessor
Allows vanilla and sodium shaders to use shader modifications.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
free()
static String
modify
(@Nullable String shaderInstance, @Nullable net.minecraft.resources.ResourceLocation name, @Nullable com.mojang.blaze3d.vertex.VertexFormat vertexFormat, int type, String source) static void
setup
(net.minecraft.server.packs.resources.ResourceProvider resourceProvider)
-
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
-