Interface ClientProxy.ShaderLoader

Enclosing class:
ClientProxy
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 static interface ClientProxy.ShaderLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(net.minecraft.resources.ResourceLocation shaderResourceLocation, com.mojang.blaze3d.vertex.VertexFormat format, Consumer<net.minecraft.client.renderer.ShaderInstance> onLoaded)
     
  • Method Details

    • register

      void register(net.minecraft.resources.ResourceLocation shaderResourceLocation, com.mojang.blaze3d.vertex.VertexFormat format, Consumer<net.minecraft.client.renderer.ShaderInstance> onLoaded) throws IOException
      Throws:
      IOException