Class VertexBufferMixin

java.lang.Object
foundry.veil.mixin.client.pipeline.VertexBufferMixin
All Implemented Interfaces:
VertexBufferExtension

public abstract class VertexBufferMixin extends Object implements VertexBufferExtension
  • 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 interface VertexBufferExtension
    • veil$drawIndirect

      public void veil$drawIndirect(long indirect, int drawCount, int stride)
      Specified by:
      veil$drawIndirect in interface VertexBufferExtension
    • veil$getIndexCount

      public int veil$getIndexCount()
      Specified by:
      veil$getIndexCount in interface VertexBufferExtension
    • _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)