com.annahid.libs.artenus.graphics
TextureManager.States
States a texture manager can be in.
public static final enum TextureManager.States extends Enum<TextureManager.States>
Enum Constant Summary
| Enum Constant and Description |
|---|
FRESHState indicating that the texture manager has all the textures but they are not loaded. |
LOADEDState indicating that the texture manager has finished loading the textures. |
LOADINGState indicating that the texture manager is loading the textures. |
UNLOADINGState indicating that the texture manager is unloading some or all of the textures. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
public static TextureManager.States | valueOf(String name) |
public static TextureManager.States | values() |
Methods inherited from java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitEnum Constant Detail
| FRESH |
|---|
public static final FRESH State indicating that the texture manager has all the textures but they are not loaded. |
| LOADED |
|---|
public static final LOADED State indicating that the texture manager has finished loading the textures. In this
state the textures are functional. |
| LOADING |
|---|
public static final LOADING State indicating that the texture manager is loading the textures. |
| UNLOADING |
|---|
public static final UNLOADING State indicating that the texture manager is unloading some or all of the textures. This
can also be a part of the loading process, where it first unloads the previous textures
which are no longer required. It just indicates the course of action that is currently
being taken. |