public class GlImageTexture extends GlTexture
GlTexture.Filtering, GlTexture.Slot, GlTexture.Wrap
downScaleFiltering, horizontalWrap, textureHandle, upScaleFiltering, verticalWrap
Constructor and Description |
---|
GlImageTexture() |
Modifier and Type | Method and Description |
---|---|
int |
getTextureHeight() |
int |
getTextureWidth() |
boolean |
isExternalTexture() |
void |
onAttach(int textureHandle) |
protected void |
onRelease() |
void |
setBitmap(Bitmap bitmap) |
void |
setBitmap(Bitmap bitmap,
int maxWidth,
int maxHeight) |
attach, bindTexture, changeBehave, getChangeCount, getMaxTextureSize, getTextureHandle, getTextureTarget, getTransformation, hasTransformation, isMipmapFilterMode, setBehave, setBehave, setBehave, setTransformation, textureChanged, updateMipmapIfNeeded, upscaleValueToPowOfTwo, useMipmap
createGlContext, destroyGlContext, finalize, release, resetToDisplayViewPort, setDisplayViewPort
public int getTextureHeight()
getTextureHeight
in class GlTexture
public int getTextureWidth()
getTextureWidth
in class GlTexture
public boolean isExternalTexture()
isExternalTexture
in class GlTexture
public void setBitmap(@NonNull Bitmap bitmap)
public void setBitmap(@NonNull Bitmap bitmap, int maxWidth, int maxHeight)