Class InputShaderModification
java.lang.Object
foundry.veil.impl.client.render.shader.modifier.InputShaderModification
- All Implemented Interfaces:
ShaderModification
-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.impl.client.render.shader.modifier.ShaderModification
ShaderModification.Function -
Field Summary
Fields inherited from interface foundry.veil.impl.client.render.shader.modifier.ShaderModification
IN_PATTERN, OUT_PATTERN, PLACEHOLDER_PATTERN, RETURN_PATTERN, UNIFORM_PATTERN, VERSION_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinject(GlslTree tree, VeilJobParameters parameters) Injects this modification into the specified shader source.intpriority()
-
Constructor Details
-
InputShaderModification
-
-
Method Details
-
inject
Description copied from interface:ShaderModificationInjects this modification into the specified shader source.- Specified by:
injectin interfaceShaderModification- Parameters:
tree- The source to modifyparameters- The parameters to use when injecting- Throws:
GlslSyntaxException- If an error occurs when parsing GLSL code
-
priority
public int priority()- Specified by:
priorityin interfaceShaderModification- Returns:
- The priority of this modification. A higher priority will be applied before a lower priority modification
-