gov.nasa.worldwind.render
Class SurfaceTileRenderer
java.lang.Object
gov.nasa.worldwind.render.SurfaceTileRenderer
- All Implemented Interfaces:
- Disposable
- Direct Known Subclasses:
- GeographicSurfaceTileRenderer
public abstract class SurfaceTileRenderer
- extends Object
- implements Disposable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
alphaTexture
protected Texture alphaTexture
outlineTexture
protected Texture outlineTexture
SurfaceTileRenderer
public SurfaceTileRenderer()
computeTextureTransform
protected abstract void computeTextureTransform(DrawContext dc,
SurfaceTile tile,
SurfaceTileRenderer.Transform t)
dispose
public void dispose()
- Free internal resources held by this surface tile renderer.
A GL context must be current when this method is called.
- Specified by:
dispose
in interface Disposable
- Throws:
GLException
- - If an OpenGL context is not current when this method is called.
getIntersectingTiles
protected abstract Iterable<SurfaceTile> getIntersectingTiles(DrawContext dc,
SectorGeometry sg,
Iterable<? extends SurfaceTile> tiles)
initAlphaTexture
protected void initAlphaTexture(int size)
initOutlineTexture
protected void initOutlineTexture(int size)
isShowImageTileOutlines
public boolean isShowImageTileOutlines()
preComputeTextureTransform
protected abstract void preComputeTextureTransform(DrawContext dc,
SectorGeometry sg,
SurfaceTileRenderer.Transform t)
renderTile
public void renderTile(DrawContext dc,
SurfaceTile tile)
renderTiles
public void renderTiles(DrawContext dc,
Iterable<? extends SurfaceTile> tiles)
setShowImageTileOutlines
public void setShowImageTileOutlines(boolean showImageTileOutlines)