Interface IVertexBuffer

All Known Implementing Classes:
VertexBufferMixin

public interface IVertexBuffer
  • Method Summary

    Modifier and Type
    Method
    Description
    cast(com.mojang.blaze3d.vertex.VertexBuffer vertexBuffer)
     
    void
    drawInstanced(int instances)
     
    void
    drawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances)
     
  • Method Details

    • cast

      static IVertexBuffer cast(com.mojang.blaze3d.vertex.VertexBuffer vertexBuffer)
    • drawInstanced

      void drawInstanced(int instances)
    • drawWithShaderInstanced

      void drawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances)