public class RenderingQueue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
VisualItem[] |
pitems |
int[] |
pscores |
int |
psize |
boolean |
psorted |
VisualItem[] |
ritems |
int[] |
rscores |
int |
rsize |
ItemSorter |
sort |
Constructor and Description |
---|
RenderingQueue() |
Modifier and Type | Method and Description |
---|---|
void |
addToPickingQueue(VisualItem item)
Add an item to the picking queue.
|
void |
addToRenderQueue(VisualItem item)
Add an item to the rendering queue.
|
void |
clean()
Clears the rendering queue and resizes internal arrays to a small size.
|
void |
clear()
Clear both rendering and picking queues.
|
void |
sortPickingQueue()
Sort the picking queue.
|
void |
sortRenderQueue()
Sort the rendering queue.
|
public ItemSorter sort
public VisualItem[] ritems
public int[] rscores
public int rsize
public VisualItem[] pitems
public int[] pscores
public int psize
public boolean psorted
public void clear()
public void clean()
public void addToRenderQueue(VisualItem item)
item
- the item to addpublic void addToPickingQueue(VisualItem item)
item
- the item to addpublic void sortRenderQueue()
public void sortPickingQueue()
Copyright ? 2013 Regents of the University of California