public class URLTexture extends Texture
Texture.Listener
LOG_ENABLED, mCoordScaleX, mCoordScaleY, mExpirationTime, mExpired, mGL, mGLState, mIdleTime, mListener, mSize, mTextureID, TAG
Modifier | Constructor and Description |
---|---|
protected |
URLTexture(GLState glState,
java.lang.String url,
TextureOptions options) |
protected |
URLTexture(GLState glState,
java.lang.String url,
TextureOptions options,
boolean async) |
Modifier and Type | Method and Description |
---|---|
void |
load(java.lang.String url,
TextureOptions options) |
void |
loadAsync(java.lang.String filePath,
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 URLTexture(GLState glState, java.lang.String url, TextureOptions options)
protected URLTexture(GLState glState, java.lang.String url, TextureOptions options, boolean async)
public void load(java.lang.String url, TextureOptions options)
public void loadAsync(java.lang.String filePath, TextureOptions options)
filePath
- options
- po2
-