com.threerings.opengl.renderer
Class SimpleBatch.DrawRangeElements

java.lang.Object
  extended by com.threerings.opengl.renderer.SimpleBatch.DrawCommand
      extended by com.threerings.opengl.renderer.SimpleBatch.DrawElements
          extended by com.threerings.opengl.renderer.SimpleBatch.DrawRangeElements
Direct Known Subclasses:
SimpleBatch.DrawBufferRangeElements, SimpleBatch.DrawShortRangeElements
Enclosing class:
SimpleBatch

public abstract static class SimpleBatch.DrawRangeElements
extends SimpleBatch.DrawElements

Draws the batch by calling GL12.glDrawRangeElements(int, int, int, java.nio.ByteBuffer).


Constructor Summary
SimpleBatch.DrawRangeElements(int mode, int start, int end)
           
 
Method Summary
 void setRange(int start, int end)
          Changes the command's range parameters, if it has them.
 
Methods inherited from class com.threerings.opengl.renderer.SimpleBatch.DrawElements
setLimits
 
Methods inherited from class com.threerings.opengl.renderer.SimpleBatch.DrawCommand
call, getPrimitiveCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBatch.DrawRangeElements

public SimpleBatch.DrawRangeElements(int mode,
                                     int start,
                                     int end)
Method Detail

setRange

public void setRange(int start,
                     int end)
Description copied from class: SimpleBatch.DrawElements
Changes the command's range parameters, if it has them.

Overrides:
setRange in class SimpleBatch.DrawElements


Copyright © 2011. All Rights Reserved.