Class DSAVertexArray

java.lang.Object
foundry.veil.api.client.render.vertex.VertexArray
foundry.veil.impl.client.render.vertex.DSAVertexArray
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource

@Internal public class DSAVertexArray extends VertexArray
  • Constructor Details

    • DSAVertexArray

      public DSAVertexArray(int id)
  • Method Details

    • uploadIndexBuffer

      public void uploadIndexBuffer(ByteBuffer data)
      Description copied from class: VertexArray
      Uploads index data to the vertex array.
      Overrides:
      uploadIndexBuffer in class VertexArray
      Parameters:
      data - The data to upload
    • uploadIndexBuffer

      public void uploadIndexBuffer(com.mojang.blaze3d.vertex.MeshData.DrawState drawState)
      Description copied from class: VertexArray
      Uploads index data to the vertex array.
      Overrides:
      uploadIndexBuffer in class VertexArray
      Parameters:
      drawState - The buffer draw state