Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Methods |
synchronized
void
|
addMappedTexture(String pID, ITexture pTexture)
|
synchronized
ITexture
|
getMappedTexture(String pID)
|
synchronized
ITexture
|
getTexture(String pID, IInputStreamOpener pInputStreamOpener, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions)
|
synchronized
ITexture
|
getTexture(String pID, AssetManager pAssetManager, String pAssetPath)
|
synchronized
ITexture
|
getTexture(String pID, IInputStreamOpener pInputStreamOpener, TextureOptions pTextureOptions)
|
synchronized
ITexture
|
getTexture(String pID, IInputStreamOpener pInputStreamOpener)
|
synchronized
ITexture
|
getTexture(String pID, AssetManager pAssetManager, String pAssetPath, TextureOptions pTextureOptions)
|
synchronized
ITexture
|
getTexture(String pID, IInputStreamOpener pInputStreamOpener, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, boolean pLoadToHardware)
|
synchronized
boolean
|
hasMappedTexture(String pID)
|
synchronized
boolean
|
loadTexture(ITexture pTexture)
|
synchronized
boolean
|
loadTexture(GLState pGLState, ITexture pTexture)
Must be called from the GL- Thread .
|
synchronized
void
|
onCreate()
|
synchronized
void
|
onDestroy()
|
synchronized
void
|
onReload()
|
synchronized
ITexture
|
removedMappedTexture(String pID)
|
synchronized
boolean
|
unloadTexture(GLState pGLState, ITexture pTexture)
Must be called from the GL- Thread .
|
synchronized
boolean
|
unloadTexture(ITexture pTexture)
|
synchronized
void
|
updateTextures(GLState pGLState)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
synchronized
void
addMappedTexture
(String pID, ITexture pTexture)
public
synchronized
boolean
hasMappedTexture
(String pID)
public
synchronized
boolean
loadTexture
(ITexture pTexture)
Parameters
pTexture
| the ITexture to be loaded before the very next frame is drawn (Or prevent it from being unloaded then). |
public
synchronized
boolean
loadTexture
(GLState pGLState, ITexture pTexture)
Must be called from the GL-Thread
.
Parameters
pTexture
| the ITexture to be loaded right now, if it is not loaded. |
public
synchronized
void
onCreate
()
public
synchronized
void
onDestroy
()
public
synchronized
void
onReload
()
public
synchronized
boolean
unloadTexture
(GLState pGLState, ITexture pTexture)
Must be called from the GL-Thread
.
Parameters
pTexture
| the ITexture to be unloaded right now, if it is loaded. |
public
synchronized
boolean
unloadTexture
(ITexture pTexture)
Parameters
pTexture
| the ITexture to be unloaded before the very next frame is drawn (Or prevent it from being loaded then). |
public
synchronized
void
updateTextures
(GLState pGLState)