org.xith3d.render.states
Class StateSortableMap

java.lang.Object
  extended by org.xith3d.render.states.StateSortableMap

public final class StateSortableMap
extends java.lang.Object

A state sortable map contains a list of StateSortable items for which an atom may have. The index into this map is the stateType, and the values in the map are StateSortable items.

Each RenderBucket has a StateSortableMap and when an atom is assigned to that bucket the atom is interrogated for its sortable states. This is then used in conjuction with the state priority map to sort the atoms properly for rendering,


Field Summary
 long hash
           
 StateSortable[] map
           
 long[] mapID
           
 
Constructor Summary
StateSortableMap()
           
 
Method Summary
 void calcHash()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public final StateSortable[] map

mapID

public final long[] mapID

hash

public long hash
Constructor Detail

StateSortableMap

public StateSortableMap()
Method Detail

calcHash

public void calcHash()