package com.mojang.blaze3d.vertex; import com.mojang.blaze3d.GpuFormat; import java.util.Locale; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @Environment(EnvType.CLIENT) public record VertexFormatElement(String name, int offset, GpuFormat format) { public String toString() { return String.format(Locale.ROOT, "%s %s offset:%d", this.name, this.format, this.offset); } }