copyFrame

abstract fun copyFrame(destination: ByteArray, destinationStride: Int): FramebufferFrameInfo?

Copies the most recent frame into destination, one row every destinationStride bytes, and describes what was copied. Null when the plugin has not drawn yet or destination is too small.