|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ohiou.cs456_badabing.sceneapi.basic.TextureManager
public class TextureManager
Container of a hasmap of texture names associated with JOGL's Texture objects.
Description: Container of a hasmap of texture names associated with JOGL's Texture objects.
Copyright: Lev A Neiman 2008
Company: Ohio University EECS
| Field Summary | |
|---|---|
static java.util.Hashtable<java.lang.String,com.sun.opengl.util.texture.Texture> |
textures
Hashtable between texture name and Texture object. |
| Constructor Summary | |
|---|---|
TextureManager()
|
|
| Method Summary | |
|---|---|
static void |
clear()
clears the hash map and texture objects, freeing up the memory. |
static com.sun.opengl.util.texture.Texture |
getTexture(java.lang.String name)
returns the texture object correspodning to name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.Hashtable<java.lang.String,com.sun.opengl.util.texture.Texture> textures
| Constructor Detail |
|---|
public TextureManager()
| Method Detail |
|---|
public static void clear()
public static com.sun.opengl.util.texture.Texture getTexture(java.lang.String name)
name - String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||