public class DrawableTexture extends Texture
Texture.Listener
LOG_ENABLED, mCoordScaleX, mCoordScaleY, mExpirationTime, mExpired, mGL, mGLState, mIdleTime, mListener, mSize, mTextureID, TAG
Modifier | Constructor and Description |
---|---|
protected |
DrawableTexture(GLState glState,
Resources res,
int drawable,
TextureOptions options) |
protected |
DrawableTexture(GLState glState,
Resources res,
int drawable,
TextureOptions options,
boolean async) |
Modifier and Type | Method and Description |
---|---|
Resources |
getResources() |
void |
load(int drawable,
TextureOptions options) |
void |
loadAsync(int drawable,
TextureOptions options)
Load Asynchronously without block GL thread.
|
void |
reload() |
void |
setResources(Resources resources) |
bind, getExpirationTime, getListener, getSize, getTextureID, isExpired, isLoaded, isPo2, load, reload, setBitmapSize, setExpirationTime, setFilters, setListener, setRepeat, toString, unload, update
protected DrawableTexture(GLState glState, Resources res, int drawable, TextureOptions options)
protected DrawableTexture(GLState glState, Resources res, int drawable, TextureOptions options, boolean async)
public void load(int drawable, TextureOptions options)
public void loadAsync(int drawable, TextureOptions options)
filePath
- options
- po2
- public Resources getResources()
public void setResources(Resources resources)
resources
- the resources to set