bindAttribLocation

abstract fun bindAttribLocation(program: WebGLProgram, index: GLuint, name: String)(source)

MDN Reference