|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface TileRendererBase.TileRendererListener
Listener for tile renderer events, intended to extend GLEventListener implementations,
enabling tile rendering via TileRendererBase.attachAutoDrawable(GLAutoDrawable).
| Method Summary | |
|---|---|
void |
addTileRendererNotify(TileRendererBase tr)
The owning GLAutoDrawable is attached
to the given TileRendererBase instance. |
void |
endTileRendering(TileRendererBase tr)
Called by the TileRenderer during tile-rendering
after TileRendererBase.endTile(GL) and GLDrawable.swapBuffers(). |
void |
removeTileRendererNotify(TileRendererBase tr)
The owning GLAutoDrawable is detached
from the given TileRendererBase instance. |
void |
reshapeTile(TileRendererBase tr,
int tileX,
int tileY,
int tileWidth,
int tileHeight,
int imageWidth,
int imageHeight)
Called by the TileRendererBase during tile-rendering via an
attached GLAutoDrawable's
GLAutoDrawable.display() call for each tile before #display(GLAutoDrawable). |
void |
startTileRendering(TileRendererBase tr)
Called by the TileRendererBase during tile-rendering
after TileRendererBase.beginTile(GL) and before reshapeTile(..). |
| Method Detail |
|---|
void addTileRendererNotify(TileRendererBase tr)
GLAutoDrawable is attached
to the given TileRendererBase instance.
The GLContext of the TileRendererBase's attached GLAutoDrawable
is not current.
tr - the associated TileRendererBaseTileRendererBase.getAttachedDrawable()void removeTileRendererNotify(TileRendererBase tr)
GLAutoDrawable is detached
from the given TileRendererBase instance.
The GLContext of the TileRendererBase's attached GLAutoDrawable
is not current.
tr - the disassociated TileRendererBaseTileRendererBase.getAttachedDrawable()
void reshapeTile(TileRendererBase tr,
int tileX,
int tileY,
int tileWidth,
int tileHeight,
int imageWidth,
int imageHeight)
TileRendererBase during tile-rendering via an
attached GLAutoDrawable's
GLAutoDrawable.display() call for each tile before #display(GLAutoDrawable).
The PMV Matrix shall be reshaped according to the given
TileRendererBase.beginTile(GL).
The GLContext of the TileRendererBase's attached GLAutoDrawable
is current.
tr - the issuing TileRendererBasetileX - the current tile's x-postileY - the current tile's y-postileWidth - the current tile's widthtileHeight - the current tile's heightimageWidth - the final image widthimageHeight - the final image heightTileRendererBase.getAttachedDrawable()void startTileRendering(TileRendererBase tr)
TileRendererBase during tile-rendering
after TileRendererBase.beginTile(GL) and before reshapeTile(..).
If TileRendererBase is of type TileRenderer,
method is called for the first tile of all tiles.
Otherwise, i.e. RandomTileRenderer, method is called for each particular tile.
The GLContext of the TileRenderer's attached GLAutoDrawable
is current.
tr - the issuing TileRendererBasevoid endTileRendering(TileRendererBase tr)
TileRenderer during tile-rendering
after TileRendererBase.endTile(GL) and GLDrawable.swapBuffers().
If TileRendererBase is of type TileRenderer,
method is called for the last tile of all tiles.
Otherwise, i.e. RandomTileRenderer, method is called for each particular tile.
The GLContext of the TileRenderer's attached GLAutoDrawable
is current.
tr - the issuing TileRendererBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||