|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.compositor.RenderQueue
public class RenderQueue
Stores a group of Batches enqueued for rendering.
| Nested Class Summary | |
|---|---|
static class |
RenderQueue.Group
Contains a group of render queues. |
| Field Summary | |
|---|---|
static String |
NORMAL_TYPE
The normal render queue type. |
static String |
OPAQUE
The name of the opaque queue. |
static String |
OVERLAY
The name of the overlay queue. |
static String |
TRANSPARENT
The name of the transparent queue. |
| Constructor Summary | |
|---|---|
RenderQueue(GlContext ctx,
String name)
Creates a new render queue. |
|
| Method Summary | |
|---|---|
void |
add(Batch batch)
Adds a batch to the queue at the default priority. |
void |
add(Batch batch,
int priority)
Adds a batch to the queue with the specified priority. |
void |
clear()
Clears out the contents of the queue. |
int |
compareTo(RenderQueue other)
|
RenderQueue.Group |
getGroup(int group)
Returns the identified group within this queue. |
boolean |
isEmpty()
Determines whether this queue is empty (after sorting). |
void |
render()
Renders the contents of the queue. |
void |
renderLists(Renderer renderer)
Renders the contents of the lists. |
void |
sort()
Sorts the contents of the queue in preparation for rendering. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OPAQUE
public static final String TRANSPARENT
public static final String OVERLAY
public static final String NORMAL_TYPE
| Constructor Detail |
|---|
public RenderQueue(GlContext ctx,
String name)
| Method Detail |
|---|
public void add(Batch batch)
public void add(Batch batch,
int priority)
public RenderQueue.Group getGroup(int group)
public void sort()
public boolean isEmpty()
public void render()
public void clear()
public void renderLists(Renderer renderer)
RenderQueueConfig.RenderMode.
public int compareTo(RenderQueue other)
compareTo in interface Comparable<RenderQueue>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||