Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Constants
public
static
final
int
HARDWARE_TEXTURE_ID_INVALID
Constant Value:
-1
(0xffffffff)
Fields
protected
int
mHardwareTextureID
protected
boolean
mUpdateOnHardwareNeeded
Public Constructors
Parameters
pTextureOptions
| the (quality) settings of the Texture. |
pTextureStateListener
| to be informed when this Texture is loaded, unloaded or a ITextureAtlasSource failed to load.
|
Public Methods
public
void
bind
(GLState pGLState, int pGLActiveTexture)
public
void
bind
(GLState pGLState)
public
int
getHardwareTextureID
()
public
boolean
hasTextureStateListener
()
public
boolean
isLoadedToHardware
()
public
boolean
isUpdateOnHardwareNeeded
()
public
void
load
(GLState pGLState)
public
void
loadToHardware
(GLState pGLState)
public
void
reloadToHardware
(GLState pGLState)
public
void
setNotLoadedToHardware
()
public
void
setUpdateOnHardwareNeeded
(boolean pUpdateOnHardwareNeeded)
public
void
unload
(GLState pGLState)
public
void
unloadFromHardware
(GLState pGLState)
Protected Methods
protected
abstract
void
writeTextureToHardware
(GLState pGLState)