@WorkerThread public class GlFrameBufferTexture extends GlTexture
GlTexture.Filtering, GlTexture.Slot, GlTexture.Wrap
downScaleFiltering, horizontalWrap, textureHandle, upScaleFiltering, verticalWrap
Constructor and Description |
---|
GlFrameBufferTexture(int width,
int height) |
GlFrameBufferTexture(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
bindTexture(int uniform,
int slot) |
void |
changeSize(int width,
int height) |
Bitmap |
copyToBitmap(int x,
int y,
int w,
int h) |
int |
getTextureHeight() |
int |
getTextureWidth() |
boolean |
isExternalTexture() |
void |
onAttach(int textureHandle) |
protected void |
onRelease() |
void |
setBehave(int downScaleFiltering,
int upScaleFiltering,
int horizontalWrap,
int verticalWrap) |
void |
startRecord() |
void |
stopRecord() |
attach, changeBehave, getChangeCount, getMaxTextureSize, getTextureHandle, getTextureTarget, getTransformation, hasTransformation, isMipmapFilterMode, setBehave, setBehave, setTransformation, textureChanged, updateMipmapIfNeeded, upscaleValueToPowOfTwo, useMipmap
createGlContext, destroyGlContext, finalize, release, resetToDisplayViewPort, setDisplayViewPort
@WorkerThread public GlFrameBufferTexture(int width, int height)
@WorkerThread public GlFrameBufferTexture(int x, int y, int width, int height)
public void bindTexture(int uniform, int slot)
bindTexture
in class GlTexture
public void changeSize(int width, int height)
public Bitmap copyToBitmap(int x, int y, int w, int h)
public int getTextureHeight()
getTextureHeight
in class GlTexture
public int getTextureWidth()
getTextureWidth
in class GlTexture
public boolean isExternalTexture()
isExternalTexture
in class GlTexture
public void setBehave(int downScaleFiltering, int upScaleFiltering, int horizontalWrap, int verticalWrap)
public void startRecord()
public void stopRecord()