jjdh.opengl.meshes.core
Class VertexArrayMesh
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.VertexArrayMesh
- All Implemented Interfaces:
- Renderable, Mesh
- Direct Known Subclasses:
- AbstractBox, AbstractTexturedBox, DividedBox, Flag, HeightMapMesh, MD2Mesh, Sphere, TrianglePillar
public abstract class VertexArrayMesh
- extends AbstractMesh
This is a mesh with a internal rendering process resting upon a highly
efficient VertexArrayJob
.
Method Summary |
void |
bind(javax.media.opengl.GL gl,
boolean bind)
|
void |
dispose(javax.media.opengl.GL gl)
|
protected void |
privateRender(javax.media.opengl.GL gl)
This method has to be overwritten by subcasses. |
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh |
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial |
job
protected VertexArrayJob job
VertexArrayMesh
public VertexArrayMesh()
bind
public void bind(javax.media.opengl.GL gl,
boolean bind)
privateRender
protected void privateRender(javax.media.opengl.GL gl)
- Description copied from class:
AbstractMesh
- This method has to be overwritten by subcasses.
- Specified by:
privateRender
in class AbstractMesh
- Parameters:
gl
- a OpenGL obejct
dispose
public void dispose(javax.media.opengl.GL gl)
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.