|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.renderer.IDList
public class IDList
A specialized data-structure used to optimize state changes of "slot" based state.
Field Summary | |
---|---|
int |
newLen
|
int[] |
newList
|
int |
oldLen
|
int[] |
oldList
|
Constructor Summary | |
---|---|
IDList()
|
Method Summary | |
---|---|
void |
copyNewToOld()
Copies the new list to the old list, and clears the new list. |
boolean |
moveToNew(int idx)
Adds an index to the new list. |
void |
print()
Prints the contents of the lists |
void |
reset()
Reset all states to zero |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int[] newList
public int[] oldList
public int newLen
public int oldLen
Constructor Detail |
---|
public IDList()
Method Detail |
---|
public void reset()
public boolean moveToNew(int idx)
idx
- The index to move
public void copyNewToOld()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |