com.threerings.opengl.renderer
Class SimpleBatch.DrawElements
java.lang.Object
com.threerings.opengl.renderer.SimpleBatch.DrawCommand
com.threerings.opengl.renderer.SimpleBatch.DrawElements
- Direct Known Subclasses:
- SimpleBatch.DrawBufferElements, SimpleBatch.DrawRangeElements, SimpleBatch.DrawShortElements
- Enclosing class:
- SimpleBatch
public abstract static class SimpleBatch.DrawElements
- extends SimpleBatch.DrawCommand
Draws the batch by calling GL11.glDrawElements(int, java.nio.ByteBuffer).
|
Method Summary |
abstract void |
setLimits(int offset,
int length)
Sets the limits defining the range of indices to draw. |
void |
setRange(int start,
int end)
Changes the command's range parameters, if it has them. |
SimpleBatch.DrawElements
public SimpleBatch.DrawElements(int mode)
setLimits
public abstract void setLimits(int offset,
int length)
- Sets the limits defining the range of indices to draw.
setRange
public void setRange(int start,
int end)
- Changes the command's range parameters, if it has them.
Copyright © 2011. All Rights Reserved.