Class Skin
java.lang.Object
foundry.veil.api.client.necromancer.render.Skin
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSkin(VertexArray vertexArray, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds) -
Method Summary
Modifier and TypeMethodDescriptionstatic Skin.Builderbuilder(int textureWidth, int textureHeight) static VertexArrayvoidfree()intvoidrender(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, waitMethods 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:
freein interfaceorg.lwjgl.system.NativeResource
-
builder
-