org.osm2world.core.target.jogl
public class JOGLRendererVBOFixedFunction extends JOGLRendererVBO
PrimitiveBuffer
using JOGL and the old fixed function OpengGL pipeline.
Uses vertex buffer objects (VBO) to speed up the process.
If you don't need the renderer anymore, it's recommended to manually call
freeResources()
to delete the VBOs and other resources.JOGLRendererVBO.PrimitiveWithMaterial
Modifier and Type | Field and Description |
---|---|
protected GL2 |
gl |
protected JOGLTextureManager |
textureManager |
DOUBLE_PRECISION_RENDERING, transparentPrimitives, vbos
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
void |
freeResources()
frees all OpenGL resources associated with this object.
|
void |
render(Camera camera,
Projection projection)
Render all primitives.
|
getValuesPerVertex, init, sortPrimitivesBackToFront
protected GL2 gl
protected JOGLTextureManager textureManager
public void render(Camera camera, Projection projection)
public void freeResources()
freeResources
in class JOGLRendererVBO
protected void finalize()
finalize
in class Object