FileDocCategorySizeDatePackage
BitmapTexture.javaAPI DocAndroid 5.1 API1606Thu Mar 12 22:22:42 GMT 2015com.android.gallery3d.glrenderer

BitmapTexture

public class BitmapTexture extends UploadedTexture

Fields Summary
protected android.graphics.Bitmap
mContentBitmap
Constructors Summary
public BitmapTexture(android.graphics.Bitmap bitmap)

        this(bitmap, false);
    
public BitmapTexture(android.graphics.Bitmap bitmap, boolean hasBorder)

        super(hasBorder);
        Assert.assertTrue(bitmap != null && !bitmap.isRecycled());
        mContentBitmap = bitmap;
    
Methods Summary
public android.graphics.BitmapgetBitmap()

        return mContentBitmap;
    
protected voidonFreeBitmap(android.graphics.Bitmap bitmap)

        // Do nothing.
    
protected android.graphics.BitmaponGetBitmap()

        return mContentBitmap;