java.lang.Object
foundry.veil.api.client.necromancer.render.Skin
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource

public class Skin extends Object implements org.lwjgl.system.NativeResource
  • Constructor Details

    • Skin

      public Skin(VertexArray vertexArray, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds)
  • Method Details

    • render

      @Internal public void render(net.minecraft.client.renderer.RenderType renderType, List<org.joml.Matrix4x3f> transforms, List<Skeleton> skeletons, int instancedBuffer, com.mojang.blaze3d.vertex.ByteBufferBuilder boneBuilder, int boneBuffer, DynamicShaderBlock<?> boneBlock, it.unimi.dsi.fastutil.floats.FloatList partialTicks)
    • getVertexArray

      public VertexArray getVertexArray()
    • getSkeletonDataSize

      public int getSkeletonDataSize()
    • createVertexArray

      public static VertexArray createVertexArray()
    • free

      public void free()
      Specified by:
      free in interface org.lwjgl.system.NativeResource
    • builder

      public static Skin.Builder builder(int textureWidth, int textureHeight)