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 void
addPreprocessor
(ShaderPreProcessor processor) Adds the specified pre-processor to the end of the stack.void
addPreprocessor
(ShaderPreProcessor processor, boolean modifyImports) Adds the specified pre-processor to the end of the stack.default void
addPreprocessorFirst
(ShaderPreProcessor processor) Adds the specified pre-processor to the start of the stack.void
addPreprocessorFirst
(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
-