TileRenderer w/o using fixed tiles but arbitrary rectangular regions.
See TileRendererBase for details.
| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | beginTile(final GL
The gl context gl)Implements abstract com. |
| public void | display(final int tX, final int tY, final int tWidth, final int tHeight)
Rendering one tile, by simply calling |
| public void | endTile(final GL
the gl context gl)Implements abstract com. beginTile(GL).
|
| public final boolean | eot()
Implements abstract com. |
| public final int | getParam(final int
The parameter name that is to be retrieved pname)Implements abstract com. |
| public final boolean | isSetup()
Implements abstract com. setImageSize(int, int) ..,
and ready for beginTile(GL).
|
| public final void | reset()
Implements abstract com. beginTile(GL) if end of tiling has been reached.
|
| public void | setTileRect(final int tX, final int tY, final int tWidth, final int tHeight)
Set the tile rectangle for the subsequent rendering calls. |
| tileRectSet | back to summary |
|---|---|
| private boolean tileRectSet | |
| RandomTileRenderer | back to summary |
|---|---|
| public RandomTileRenderer() Creates a new TileRenderer object | |
| beginTile | back to summary |
|---|---|
| public final void beginTile(final GL gl) throws IllegalStateException, GLException Implements abstract com. Doc from com. Begins rendering a tile.
This method modifies the viewport, see below.
User shall reset the viewport when finishing all tile rendering,
i.e. after very last call of The PMV Matrix must be reshaped after this call using:
Use shall render the scene afterwards, concluded with a call to
this renderer User has to comply with the GL profile requirement.
If
| |
| display | back to summary |
|---|---|
| public void display(final int tX, final int tY, final int tWidth, final int tHeight) throws IllegalStateException Rendering one tile, by simply calling
| |
| endTile | back to summary |
|---|---|
| public void endTile(final GL gl) throws IllegalStateException, GLException Implements abstract com. Doc from com. Must be called after rendering the scene,
see
Please consider User has to comply with the GL profile requirement.
| |
| eot | back to summary |
|---|---|
| public final boolean eot() Implements abstract com. Doc from com. Returns true if end of tiling has been reached, otherwise false. end of tiling criteria is implementation specific and may never be reached.
User needs to
end of tiling is never reached w/
| |
| getParam | back to summary |
|---|---|
| public final int getParam(final int pname) Implements abstract com. Doc from com. Gets the parameters of this TileRenderer object
| |
| isSetup | back to summary |
|---|---|
| public final boolean isSetup() Implements abstract com. Doc from com. Returns true if this instance is setup properly, i.e.
| |
| reset | back to summary |
|---|---|
| public final void reset() Implements abstract com. Doc from com. Method resets implementation's internal state to start of tiling
as required for
Implementation is a nop where RandomTileRenderer are: none.
| |
| setTileRect | back to summary |
|---|---|
| public void setTileRect(final int tX, final int tY, final int tWidth, final int tHeight) throws IllegalStateException, IllegalArgumentException Set the tile rectangle for the subsequent rendering calls.
| |