Package com.jme3.util

Class AndroidScreenshots

java.lang.Object
com.jme3.util.AndroidScreenshots

public final class AndroidScreenshots extends Object
  • Method Details

    • convertScreenShot

      public static void convertScreenShot(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 OpenGL
      bitmapImage - Bitmap to be used after converting the data