|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.ar.ar3D.Renderer3D
public class Renderer3D
Renderer3D is the general renderer for the GLSurfaceView
Constructor Summary | |
---|---|
Renderer3D()
Constructs a render with opaque background |
|
Renderer3D(boolean transparent,
float maxDist)
Constructs a Renderer |
Method Summary | |
---|---|
int |
getFPS()
Returns the fps |
void |
onDrawFrame(GL10 gl)
|
void |
onSurfaceChanged(GL10 gl,
int width,
int height)
If the surface changes, reset the view |
void |
onSurfaceCreated(GL10 gl,
EGLConfig config)
|
void |
setCamera(Camera3D camera)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Renderer3D()
public Renderer3D(boolean transparent, float maxDist)
transparent
- if the background must be transparentmaxDist
- max distance to be shownMethod Detail |
---|
public int getFPS()
public void onDrawFrame(GL10 gl)
public void onSurfaceChanged(GL10 gl, int width, int height)
public void onSurfaceCreated(GL10 gl, EGLConfig config)
public void setCamera(Camera3D camera)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |