public final class AndroidScreenshots
extends java.lang.Object
| Constructor and Description |
|---|
AndroidScreenshots() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convertScreenShot(java.nio.ByteBuffer buf,
android.graphics.Bitmap bitmapImage)
Convert OpenGL GLES20.GL_RGBA to Bitmap.Config.ARGB_8888 and store result
in a Bitmap
|
public static void convertScreenShot(java.nio.ByteBuffer buf,
android.graphics.Bitmap bitmapImage)
buf - ByteBuffer that has the pixel color data from OpenGLbitmapImage - Bitmap to be used after converting the data