Class SimpleShaderInjection
java.lang.Object
foundry.veil.impl.client.render.shader.injection.SimpleShaderInjection
- All Implemented Interfaces:
ShaderInjection
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleShaderInjection(int version, int priority, ShaderInjectionFunction[] functions) SimpleShaderInjection(int version, int priority, ShaderInjectionFunction[] functions, @Nullable String globals) -
Method Summary
-
Constructor Details
-
SimpleShaderInjection
-
SimpleShaderInjection
public SimpleShaderInjection(int version, int priority, ShaderInjectionFunction[] functions, @Nullable @Nullable String globals)
-
-
Method Details
-
inject
public void inject(io.github.ocelot.glslprocessor.api.node.GlslTree tree, boolean applyVersion) throws io.github.ocelot.glslprocessor.api.GlslSyntaxException, IOException - Specified by:
injectin interfaceShaderInjection- Throws:
io.github.ocelot.glslprocessor.api.GlslSyntaxExceptionIOException
-
priority
public int priority()- Specified by:
priorityin interfaceShaderInjection
-
getShaderInjectionFunctions
-