getInternalformatParameter

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

MDN Reference