readPixels

abstract fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<*>?)(source)

MDN Reference


abstract fun readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr)(source)
abstract fun readPixels(    x: GLint,     y: GLint,     width: GLsizei,     height: GLsizei,     format: GLenum,     type: GLenum,     dstData: ArrayBufferView<*>,     dstOffset: Int)(source)