Class InputShaderModification
java.lang.Object
foundry.veil.render.shader.modifier.InputShaderModification
- All Implemented Interfaces:
ShaderModification
-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.render.shader.modifier.ShaderModification
ShaderModification.Function -
Field Summary
Fields inherited from interface foundry.veil.render.shader.modifier.ShaderModification
ALLOW_OUT, APPLY_VERSION, IN_PATTERN, OUT_PATTERN, PLACEHOLDER_PATTERN, RETURN_PATTERN, UNIFORM_PATTERN, VERSION_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintInjects this modification into the specified shader source.
-
Constructor Details
-
InputShaderModification
-
-
Method Details
-
inject
Description copied from interface:ShaderModificationInjects this modification into the specified shader source.- Specified by:
injectin interfaceShaderModification- Parameters:
source- The source to inject intoflags- The flags to use when injecting- Returns:
- The injected shader source
- Throws:
IOException- If an error occurs with the format or applying the modifications
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceShaderModification- Returns:
- The priority of this modification. A higher priority will be applied before a lower priority modification
-