Package com.jme3.util
Class AndroidScreenshots
java.lang.Object
com.jme3.util.AndroidScreenshots
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertScreenShot
(ByteBuffer buf, android.graphics.Bitmap bitmapImage) Convert OpenGL GLES20.GL_RGBA to Bitmap.Config.ARGB_8888 and store result in a Bitmap
-
Method Details
-
convertScreenShot
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
-