类 VertexUtils
java.lang.Object
committee.nova.mods.avaritia.api.client.util.VertexUtils
Created by covers1624 on 9/7/22.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static int[]mapFormats(com.mojang.blaze3d.vertex.VertexFormat from, com.mojang.blaze3d.vertex.VertexFormat to) static voidpack(float[] from, int[] to, com.mojang.blaze3d.vertex.VertexFormat formatTo, int v, int e) static voidputQuad(IVertexConsumer consumer, net.minecraft.client.renderer.block.model.BakedQuad quad) static voidunpack(int[] from, float[] to, com.mojang.blaze3d.vertex.VertexFormat formatFrom, int v, int e)
-
构造器详细资料
-
VertexUtils
public VertexUtils()
-
-
方法详细资料
-
mapFormats
public static int[] mapFormats(com.mojang.blaze3d.vertex.VertexFormat from, com.mojang.blaze3d.vertex.VertexFormat to) -
putQuad
public static void putQuad(IVertexConsumer consumer, net.minecraft.client.renderer.block.model.BakedQuad quad) -
unpack
public static void unpack(int[] from, float[] to, com.mojang.blaze3d.vertex.VertexFormat formatFrom, int v, int e) -
pack
public static void pack(float[] from, int[] to, com.mojang.blaze3d.vertex.VertexFormat formatTo, int v, int e)
-