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