org.osm2world.core.target.primitivebuffer
Class JOGLPrimitiveBufferRenderer

Object
  extended by JOGLPrimitiveBufferRenderer

public class JOGLPrimitiveBufferRenderer
extends Object

renders the contents of a PrimitiveBuffer using JOGL. This class attempts to use the JOGL_VBOPrimitiveBufferRenderer if VertexBufferObjects are supported, and falls back to slower individual calls otherwise.


Constructor Summary
JOGLPrimitiveBufferRenderer(GL gl, PrimitiveBuffer primitiveBuffer)
           
 
Method Summary
 void render()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOGLPrimitiveBufferRenderer

public JOGLPrimitiveBufferRenderer(GL gl,
                                   PrimitiveBuffer primitiveBuffer)
Method Detail

render

public void render()