espresso3d.engine.lowlevel
Class E3DTextureSortedObjectMap
java.lang.Object
java.util.AbstractMap
java.util.HashMap
espresso3d.engine.lowlevel.E3DTextureSortedObjectMap
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class E3DTextureSortedObjectMap
- extends java.util.HashMap
- Author:
- Curt
Texturesortedtriangle maps are used pretty extensively by the engine to keep triangles
group by texture so they can be sent to the gpu efficiently.
This essentially a glorified hashmap. The key is the glTextureID and the value
is an arraylist of triangles with textures having that key.
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
E3DTextureSortedObjectMap
public E3DTextureSortedObjectMap()
addObject
public void addObject(E3DTexturedRenderable renderableObject)
addAll
public void addAll(java.util.HashMap textureSortedHashMap)
- This will add or merge all of textureSortedHashMap's entries into this one
put
public java.lang.Object put(java.lang.Object arg0,
java.lang.Object arg1)
removeObject
public void removeObject(E3DTexturedRenderable renderableObject)