Package com.jme3.util
Class AndroidScreenshots
- java.lang.Object
-
- com.jme3.util.AndroidScreenshots
-
public final class AndroidScreenshots extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconvertScreenShot(java.nio.ByteBuffer buf, android.graphics.Bitmap bitmapImage)Convert OpenGL GLES20.GL_RGBA to Bitmap.Config.ARGB_8888 and store result in a Bitmap
-
-
-
Method Detail
-
convertScreenShot
public 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- Parameters:
buf- ByteBuffer that has the pixel color data from OpenGLbitmapImage- Bitmap to be used after converting the data
-
-