Package foundry.veil.api.event
Interface VeilAddShaderPreProcessorsEvent.Registry
- All Known Implementing Classes:
ShaderProcessorList
- Enclosing interface:
VeilAddShaderPreProcessorsEvent
public static interface VeilAddShaderPreProcessorsEvent.Registry
Registers shader pre-processors.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddPreprocessor(ShaderPreProcessor processor) Adds the specified pre-processor to the end of the stack.voidaddPreprocessor(ShaderPreProcessor processor, boolean modifyImports) Adds the specified pre-processor to the end of the stack.default voidaddPreprocessorFirst(ShaderPreProcessor processor) Adds the specified pre-processor to the start of the stack.voidaddPreprocessorFirst(ShaderPreProcessor processor, boolean modifyImports) Adds the specified pre-processor to the start of the stack.
-
Method Details
-
addPreprocessorFirst
Adds the specified pre-processor to the start of the stack.- Parameters:
processor- The processor to addmodifyImports- Whether the processor will also be run on imports
-
addPreprocessorFirst
Adds the specified pre-processor to the start of the stack.- Parameters:
processor- The processor to add
-
addPreprocessor
Adds the specified pre-processor to the end of the stack.- Parameters:
processor- The processor to addmodifyImports- Whether the processor will also be run on imports
-
addPreprocessor
Adds the specified pre-processor to the end of the stack.- Parameters:
processor- The processor to add
-