Class VertexUtils

java.lang.Object
codechicken.lib.util.VertexUtils

public class VertexUtils extends Object
Created by covers1624 on 9/7/22.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int[]
    mapFormats(com.mojang.blaze3d.vertex.VertexFormat from, com.mojang.blaze3d.vertex.VertexFormat to)
     
    static void
    pack(float[] from, int[] to, com.mojang.blaze3d.vertex.VertexFormat formatTo, int v, int e)
     
    static void
    putQuad(IVertexConsumer consumer, net.minecraft.client.renderer.block.model.BakedQuad quad)
     
    static void
    unpack(int[] from, float[] to, com.mojang.blaze3d.vertex.VertexFormat formatFrom, int v, int e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VertexUtils

      public VertexUtils()
  • Method Details

    • 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)