jjdh.opengl.meshes.core
Class DirectMesh
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.DirectMesh
- All Implemented Interfaces:
- Renderable, Mesh
- Direct Known Subclasses:
- FractalTree, PathIteratorMesh, TextMesh
public abstract class DirectMesh
- extends AbstractMesh
Method Summary |
void |
dispose(javax.media.opengl.GL gl)
Cause this is a "Direct Draw" Mash, there are no OpenGL resources to
dispose. |
protected abstract 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 |
DirectMesh
public DirectMesh()
privateRender
protected abstract 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)
- Cause this is a "Direct Draw" Mash, there are no OpenGL resources to
dispose.
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.