Class VertexBufferMixin
java.lang.Object
foundry.veil.mixin.client.pipeline.VertexBufferMixin
- All Implemented Interfaces:
VertexBufferExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
_drawWithShader
(org.joml.Matrix4f modelView, org.joml.Matrix4f projection, net.minecraft.client.renderer.ShaderInstance shader, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) void
drawPatches
(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) protected abstract com.mojang.blaze3d.vertex.VertexFormat.IndexType
int
modifyDrawMode
(int glMode) void
veil$drawIndirect
(long indirect, int drawCount, int stride) void
veil$drawInstanced
(int instances) int
-
Constructor Details
-
VertexBufferMixin
public VertexBufferMixin()
-
-
Method Details
-
getIndexType
protected abstract com.mojang.blaze3d.vertex.VertexFormat.IndexType getIndexType() -
veil$drawInstanced
public void veil$drawInstanced(int instances) - Specified by:
veil$drawInstanced
in interfaceVertexBufferExtension
-
veil$drawIndirect
public void veil$drawIndirect(long indirect, int drawCount, int stride) - Specified by:
veil$drawIndirect
in interfaceVertexBufferExtension
-
veil$getIndexCount
public int veil$getIndexCount()- Specified by:
veil$getIndexCount
in interfaceVertexBufferExtension
-
_drawWithShader
public void _drawWithShader(org.joml.Matrix4f modelView, org.joml.Matrix4f projection, net.minecraft.client.renderer.ShaderInstance shader, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
drawPatches
public void drawPatches(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
modifyDrawMode
public int modifyDrawMode(int glMode)
-