getBufferParameter

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

MDN Reference