getTexParameter

abstract fun getTexParameter(target: GLenum, pname: GLenum): Any?(source)

MDN Reference