getIndexedParameter

abstract fun getIndexedParameter(target: GLenum, index: GLuint): Any?(source)

MDN Reference