title: Java: OpenCV Mat object to ByteBuffer
body: <p>I want to use a Mat object generated using openCV in JOGL, and therefore I need to convert it to a ByteBuffer of GL_RGBA type. what options do I have to do this?</p>