|
|||||||||
| 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.DrawArrays
public static class SimpleBatch.DrawArrays
Draws the batch by calling GL11.glDrawArrays(int, int, int).
| Field Summary | |
|---|---|
protected int |
_count
The number of indices to be rendered. |
protected int |
_first
The first index in the arrays. |
protected int |
_mode
The primitive mode. |
| Constructor Summary | |
|---|---|
SimpleBatch.DrawArrays(int mode,
int first,
int count)
|
|
| Method Summary | |
|---|---|
boolean |
call()
Calls the draw command, causing the batch's primitives to be rendered. |
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 int _mode
protected int _first
protected int _count
| Constructor Detail |
|---|
public SimpleBatch.DrawArrays(int mode,
int first,
int count)
| Method Detail |
|---|
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 | ||||||||