glReadPixels

actual fun glReadPixels(    x: Int = 0,     y: Int = 0,     width: Int,     height: Int,     format: PixelFormat = PixelFormat.RGBA): ByteArray

Reads pixels from frame buffer.

expect fun glReadPixels(    x: Int = 0,     y: Int = 0,     width: Int,     height: Int,     format: PixelFormat = PixelFormat.RGBA): ByteArray

Reads pixels from frame buffer.

actual fun glReadPixels(    x: Int = 0,     y: Int = 0,     width: Int,     height: Int,     format: PixelFormat = PixelFormat.RGBA): ByteArray

Reads pixels from frame buffer.