Class Skin
java.lang.Object
foundry.veil.api.client.necromancer.render.Skin
- All Implemented Interfaces:
AutoCloseable
,org.lwjgl.system.NativeResource
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSkin
(VertexArray vertexArray, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds) -
Method Summary
Modifier and TypeMethodDescriptionstatic Skin.Builder
builder
(int textureWidth, int textureHeight) static VertexArray
void
free()
int
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
Skin
-
-
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
-
getSkeletonDataSize
public int getSkeletonDataSize() -
createVertexArray
-
free
public void free()- Specified by:
free
in interfaceorg.lwjgl.system.NativeResource
-
builder
-