|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.renderer.base.E3DRenderable
| Field Summary | |
static int |
RENDERMODE_SOLID
Render the object as a solid polygon. |
static int |
RENDERMODE_TEXTURED
Render the object as a textured polygon |
static int |
RENDERMODE_WIREFRAME
Render the object as a wireframe |
| Constructor Summary | |
E3DRenderable(E3DEngine engine)
Construct an E3DRenderable. |
|
E3DRenderable(E3DEngine engine,
int renderMode)
|
|
| Method Summary | |
java.lang.String |
getRenderableOptionsKey()
|
int |
getRenderMode()
Get the mode that this object will be rendered. |
void |
initCorrectGeometryRenderer()
Based on therendermode, this will determine which geometry renderer to use and will set it up so after this is called, you can simply make a call to render the geometry and you will have the correct render mode |
void |
render()
|
abstract void |
renderAtPosition(E3DVector3F position)
|
void |
setRenderMode(int renderMode)
Set the rendermode for this object. |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int RENDERMODE_WIREFRAME
public static final int RENDERMODE_SOLID
public static final int RENDERMODE_TEXTURED
| Constructor Detail |
public E3DRenderable(E3DEngine engine)
engine -
public E3DRenderable(E3DEngine engine,
int renderMode)
| Method Detail |
public void render()
public abstract void renderAtPosition(E3DVector3F position)
public int getRenderMode()
public void setRenderMode(int renderMode)
renderMode - public void initCorrectGeometryRenderer()
public java.lang.String getRenderableOptionsKey()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||