setVertexAttribArray

open fun setVertexAttribArray(label: String, dimension: Int, buffer: FloatBuffer)

Enable and upload a vertex array for attribute |label|. The vertex data is specified in |buffer| with |dimension| number of components per vertex.


open fun setVertexAttribArray(label: String, dimension: Int, stride: Int, buffer: FloatBuffer)

Enable and upload a vertex array for attribute |label|. The vertex data is specified in |buffer| with |dimension| number of components per vertex and specified |stride|.