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.

@FunctionalInterface public interface VeilAddShaderPreProcessorsEvent
Fired when Veil is about to compile shaders.
See Also:
  • 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 resources
      registry - The register to add shader pre-processors to