Package foundry.veil.api.event
Interface VeilAddShaderPreProcessorsEvent
- All Known Subinterfaces:
VeilClientPlatform
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Fired when Veil is about to compile shaders.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Registers shader pre-processors. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onRegisterShaderPreProcessors
(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, VeilAddShaderPreProcessorsEvent.Registry registry) Called when the shader manager is about to compile shaders.
-
Method Details
-
onRegisterShaderPreProcessors
void onRegisterShaderPreProcessors(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, VeilAddShaderPreProcessorsEvent.Registry registry) Called when the shader manager is about to compile shaders.- Parameters:
resourceProvider
- Access to retrieving resourcesregistry
- The register to add shader pre-processors to
-