Class ShaderProcessorList
java.lang.Object
foundry.veil.api.client.render.shader.processor.ShaderProcessorList
- All Implemented Interfaces:
VeilAddShaderPreProcessorsEvent.Registry
@Internal
public class ShaderProcessorList
extends Object
implements VeilAddShaderPreProcessorsEvent.Registry
-
Constructor Summary
ConstructorDescriptionShaderProcessorList
(net.minecraft.server.packs.resources.ResourceProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPreprocessor
(ShaderPreProcessor processor, boolean modifyImports) Adds the specified pre-processor to the end of the stack.void
addPreprocessorFirst
(ShaderPreProcessor processor, boolean modifyImports) Adds the specified pre-processor to the start of the stack.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.event.VeilAddShaderPreProcessorsEvent.Registry
addPreprocessor, addPreprocessorFirst
-
Constructor Details
-
ShaderProcessorList
public ShaderProcessorList(net.minecraft.server.packs.resources.ResourceProvider provider)
-
-
Method Details
-
addPreprocessorFirst
Description copied from interface:VeilAddShaderPreProcessorsEvent.Registry
Adds the specified pre-processor to the start of the stack.- Specified by:
addPreprocessorFirst
in interfaceVeilAddShaderPreProcessorsEvent.Registry
- Parameters:
processor
- The processor to addmodifyImports
- Whether the processor will also be run on imports
-
addPreprocessor
Description copied from interface:VeilAddShaderPreProcessorsEvent.Registry
Adds the specified pre-processor to the end of the stack.- Specified by:
addPreprocessor
in interfaceVeilAddShaderPreProcessorsEvent.Registry
- Parameters:
processor
- The processor to addmodifyImports
- Whether the processor will also be run on imports
-
getProcessor
-
getImportProcessor
-
getShaderImporter
-