Class VertexBufferMixin
java.lang.Object
team.lodestar.lodestone.mixin.client.VertexBufferMixin
- All Implemented Interfaces:
IVertexBuffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawInstanced(int instances) voiddrawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances) abstract com.mojang.blaze3d.vertex.VertexFormat.IndexType
-
Constructor Details
-
VertexBufferMixin
public VertexBufferMixin()
-
-
Method Details
-
drawInstanced
public void drawInstanced(int instances) - Specified by:
drawInstancedin interfaceIVertexBuffer
-
drawWithShaderInstanced
public void drawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances) - Specified by:
drawWithShaderInstancedin interfaceIVertexBuffer
-
getIndexType
public abstract com.mojang.blaze3d.vertex.VertexFormat.IndexType getIndexType()
-