Class ARBVertexAttribBindingVertexArray

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

@Internal public class ARBVertexAttribBindingVertexArray extends VertexArray
  • Constructor Details

    • ARBVertexAttribBindingVertexArray

      public ARBVertexAttribBindingVertexArray(int id)
  • Method Details

    • createBuffer

      protected int createBuffer()
      Specified by:
      createBuffer in class VertexArray
      Returns:
      Creates a new vertex buffer
    • uploadVertexBuffer

      protected void uploadVertexBuffer(int buffer, ByteBuffer data, int usage)
      Description copied from class: VertexArray
      Uploads vertex data to the specified buffer.
      Specified by:
      uploadVertexBuffer in class VertexArray
      Parameters:
      buffer - The buffer to upload into
      data - The data to upload
      usage - The data usage
    • editFormat

      public VertexArrayBuilder editFormat()
      Specified by:
      editFormat in class VertexArray
      Returns:
      A builder for applying changes to this array