project.android.imageprocessing.helper
Class ImageHelper

java.lang.Object
  extended by project.android.imageprocessing.helper.ImageHelper

public class ImageHelper
extends java.lang.Object


Constructor Summary
ImageHelper()
           
 
Method Summary
static int bitmapToTexture(android.graphics.Bitmap bitmap)
          This method takes in a bitmap and binds it to an opengl texture.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageHelper

public ImageHelper()
Method Detail

bitmapToTexture

public static int bitmapToTexture(android.graphics.Bitmap bitmap)
This method takes in a bitmap and binds it to an opengl texture. This method can only be called if there is an active opengl context.

Parameters:
bitmap - a bitmap to turn into an opengl texture
Returns:
texture an opengl texture with the given bitmap