|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.renderer.SimpleBatch.DrawCommand
com.threerings.opengl.renderer.SimpleBatch.CallList
public static class SimpleBatch.CallList
Draws the batch by calling a display list containing the geometry.
| Field Summary | |
|---|---|
protected DisplayList |
_list
The display list to call. |
protected boolean |
_modifiesColorState
Whether or not the display list modifies the color state. |
protected int |
_primitiveCount
The number of primitives rendered in the list. |
| Constructor Summary | |
|---|---|
SimpleBatch.CallList(DisplayList list,
boolean modifiesColorState,
int primitiveCount)
|
|
| Method Summary | |
|---|---|
boolean |
call()
Calls the draw command, causing the batch's primitives to be rendered. |
DisplayList |
getList()
Returns a reference to the display list. |
int |
getPrimitiveCount()
Returns the number of primitives rendered by this command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DisplayList _list
protected boolean _modifiesColorState
protected int _primitiveCount
| Constructor Detail |
|---|
public SimpleBatch.CallList(DisplayList list,
boolean modifiesColorState,
int primitiveCount)
| Method Detail |
|---|
public DisplayList getList()
public boolean call()
SimpleBatch.DrawCommand
call in class SimpleBatch.DrawCommandpublic int getPrimitiveCount()
SimpleBatch.DrawCommand
getPrimitiveCount in class SimpleBatch.DrawCommand
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||