bind

fun bind(shader: ShaderProgram<*, *>? = null, locations: IntArray? = null)

Binds the VertexBufferObject and will also bind the IndexBufferObject if the numIndices 0.