public class URLCacheTexture extends Texture
Texture.Listener
LOG_ENABLED, mCoordScaleX, mCoordScaleY, mExpirationTime, mExpired, mGL, mGLState, mIdleTime, mListener, mSize, mTextureID, TAG
Modifier | Constructor and Description |
---|---|
protected |
URLCacheTexture(GLState glState,
java.lang.String fileUrl,
java.lang.String cachePath,
TextureOptions options) |
protected |
URLCacheTexture(GLState glState,
java.lang.String fileUrl,
java.lang.String cachePath,
TextureOptions options,
boolean async) |
Modifier and Type | Method and Description |
---|---|
void |
load(java.lang.String fileUrl,
java.lang.String cachePath,
TextureOptions options) |
void |
loadAsync(java.lang.String fileUrl,
java.lang.String cachePath,
TextureOptions options)
Load Asynchronously without block GL thread.
|
void |
reload() |
java.lang.String |
toString() |
bind, getExpirationTime, getListener, getSize, getTextureID, isExpired, isLoaded, isPo2, load, reload, setBitmapSize, setExpirationTime, setFilters, setListener, setRepeat, unload, update
protected URLCacheTexture(GLState glState, java.lang.String fileUrl, java.lang.String cachePath, TextureOptions options)
protected URLCacheTexture(GLState glState, java.lang.String fileUrl, java.lang.String cachePath, TextureOptions options, boolean async)
public void load(java.lang.String fileUrl, java.lang.String cachePath, TextureOptions options)
public void loadAsync(java.lang.String fileUrl, java.lang.String cachePath, TextureOptions options)
filePath
- options
- po2
-