|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.renderer.Batch
com.threerings.opengl.renderer.CompoundBatch
public class CompoundBatch
A batch that renders a list of sub-batches in order.
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.renderer.Batch |
|---|
depth, key |
| Constructor Summary | |
|---|---|
CompoundBatch()
Creates an empty compound batch. |
|
CompoundBatch(Batch... batches)
Creates a compound batch to render the specified batches. |
|
| Method Summary | |
|---|---|
boolean |
draw(Renderer renderer)
Draws this batch using the specified renderer. |
ArrayList<Batch> |
getBatches()
Returns a reference to the list of batches to render in order. |
int |
getPrimitiveCount()
Returns the number of primitives in this batch (optional; returns zero by default). |
| Methods inherited from class com.threerings.opengl.renderer.Batch |
|---|
clone, compareKeys |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompoundBatch()
public CompoundBatch(Batch... batches)
| Method Detail |
|---|
public ArrayList<Batch> getBatches()
public boolean draw(Renderer renderer)
Batch
draw in class Batchpublic int getPrimitiveCount()
Batch
getPrimitiveCount in class Batch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||