Spaces:
Build error
Build error
File size: 554 Bytes
d46f4a3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
package net.minecraft.client.renderer;
import com.mojang.blaze3d.vertex.VertexFormat;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public record ShaderProgram(ResourceLocation configId, VertexFormat vertexFormat, ShaderDefines defines) {
@Override
public String toString() {
String s = this.configId + " (" + this.vertexFormat + ")";
return !this.defines.isEmpty() ? s + " with " + this.defines : s;
}
} |