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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
inject
(GlslTree tree, VeilJobParameters parameters) Injects this modification into the specified shader source.int
priority()
-
Constructor Details
-
InputShaderModification
-
-
Method Details
-
inject
Description copied from interface:ShaderModification
Injects this modification into the specified shader source.- Specified by:
inject
in 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:
priority
in interfaceShaderModification
- Returns:
- The priority of this modification. A higher priority will be applied before a lower priority modification
-