Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.eside.flingbox.graphics
Class RenderBody

    java.lang.Object
      edu.eside.flingbox.graphics.RenderBody

Direct Known Subclasses:
  RenderPolygon

    public abstract class RenderBody

extends java.lang.Object

`Renderizable` interface witch should be implemented by on scene bodys to be rendered.

Constructor Summary
`RenderBody()`

Method Summary
`abstract boolean` | `onRender(GL10 gl)` Called when object has to be rendered.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RenderBody

    public RenderBody()

Method Detail

### onRender

    public abstract boolean onRender(GL10 gl)

  Called when object has to be rendered. When {link onRender} called a new OpenGL's matrix has been pushed to stack, so do not use gl.glPushMatrix() or gl.glPopMatrix().

  Parameters:
    `gl` - OpenGL's space
  Returns:
    true if render consumed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD