public class

TextureManager

extends Object
java.lang.Object
   ↳ org.anddev.andengine.opengl.texture.TextureManager

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Constructors
TextureManager()
Public Methods
synchronized boolean loadTexture(ITexture pTexture)
void loadTextures(ITexture... pTextures)
synchronized void reloadTextures()
synchronized boolean unloadTexture(ITexture pTexture)
void unloadTextures(ITexture... pTextures)
synchronized void updateTextures(GL10 pGL)
Protected Methods
synchronized void clear()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TextureManager ()

Public Methods

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).
Returns

public void loadTextures (ITexture... pTextures)

public synchronized void reloadTextures ()

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).
Returns

public void unloadTextures (ITexture... pTextures)

public synchronized void updateTextures (GL10 pGL)

Protected Methods

protected synchronized void clear ()