public class GlBitmapCanvasTexture extends GlTexture
GlTexture.Filtering, GlTexture.Slot, GlTexture.Wrap
changeCount, downScaleFiltering, horizontalWrap, textureHandle, upScaleFiltering, verticalWrap
Constructor and Description |
---|
GlBitmapCanvasTexture() |
Modifier and Type | Method and Description |
---|---|
void |
bindTexture(int uniform,
int slot) |
android.graphics.Bitmap |
getBitmapCopyOfLockedLayer() |
int |
getTextureHeight() |
int |
getTextureWidth() |
boolean |
isExternalTexture() |
android.graphics.Canvas |
lockCanvas() |
void |
onAttach(int textureHandle) |
protected void |
onRelease() |
void |
setSize(int width,
int height) |
void |
unlock() |
protected void |
update() |
attach, changeBehave, getChangeCount, getMaxTextureSize, getTextureHandle, getTextureTarget, getTransformation, hasTransformation, isMipmapFilterMode, markDirty, setBehave, setBehave, setBehave, setTransformation, textureChanged, updateMipmapIfNeeded, upscaleValueToPowOfTwo, useMipmap
createGlContext, destroyGlContext, finalize, markAsUnused, release, resetToDisplayViewPort, setDisplayViewPort
public boolean isExternalTexture()
isExternalTexture
in class GlTexture
public int getTextureHeight()
getTextureHeight
in class GlTexture
public int getTextureWidth()
getTextureWidth
in class GlTexture
public void setSize(int width, int height)
protected void update()
public android.graphics.Bitmap getBitmapCopyOfLockedLayer()
public android.graphics.Canvas lockCanvas()
public void unlock()
public void bindTexture(int uniform, int slot)
bindTexture
in class GlTexture