Class DynamicBufferProcessor
java.lang.Object
foundry.veil.impl.client.render.dynamicbuffer.DynamicBufferProcessor
- All Implemented Interfaces:
ShaderPreProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.api.client.render.shader.processor.ShaderPreProcessor
ShaderPreProcessor.Context -
Field Summary
Fields inherited from interface foundry.veil.api.client.render.shader.processor.ShaderPreProcessor
NOOP, UNIFORM_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodify(ShaderPreProcessor.Context ctx, String source) Modifies the specified shader source input.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.api.client.render.shader.processor.ShaderPreProcessor
prepare
-
Constructor Details
-
DynamicBufferProcessor
-
-
Method Details
-
modify
Description copied from interface:ShaderPreProcessorModifies the specified shader source input.- Specified by:
modifyin interfaceShaderPreProcessor- Parameters:
ctx- Context for modifying shaderssource- The GLSL source code to modify- Returns:
- The modified source or the input if nothing changed
- Throws:
IOException- If any error occurs while editing the source
-