public final void purge() { // #if DEBUG Assert.isTrue("still valid", myHasTextureIdFlag); // #endif myUtilities.purge(myOglTextureId); myHasTextureIdFlag = false; }
public final void makeUsing(final Bitmap aBitmap) { // #if DEBUG Assert.isFalse("not made", myHasTextureIdFlag); // #endif myWidth = aBitmap.getWidth(); myHeight = aBitmap.getHeight(); makeOpenglTexture(aBitmap); }