readPixels method

void readPixels(
  1. GLint x,
  2. GLint y,
  3. GLsizei width,
  4. GLsizei height,
  5. GLenum format,
  6. GLenum type,
  7. JSAny? dstDataOrOffset, [
  8. int dstOffset,
])

Implementation

external void readPixels(
  GLint x,
  GLint y,
  GLsizei width,
  GLsizei height,
  GLenum format,
  GLenum type,
  JSAny? dstDataOrOffset, [
  int dstOffset,
]);