Class ShaderParameters.Value<T>

java.lang.Object
com.pixelmonmod.pixelmon.client.render.shader.ShaderParameters.Value<T>
Enclosing class:
ShaderParameters

public static class ShaderParameters.Value<T> extends Object
  • Constructor Details

    • Value

      public Value(com.mojang.serialization.Codec<T> codec, T value)
  • Method Details

    • apply

      public void apply(com.mojang.blaze3d.shaders.AbstractUniform uniform)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
    • read

      public static <A> ShaderParameters.Value<A> read(net.minecraft.network.FriendlyByteBuf buf)