Package gov.nasa.worldwind.draw
Class DrawableSurfaceTexture
- java.lang.Object
-
- gov.nasa.worldwind.draw.DrawableSurfaceTexture
-
- All Implemented Interfaces:
Drawable,SurfaceTexture
public class DrawableSurfaceTexture extends java.lang.Object implements Drawable, SurfaceTexture
-
-
Field Summary
Fields Modifier and Type Field Description ColorcolorSurfaceTextureProgramprogramSectorsectorMatrix3texCoordMatrixTexturetexture
-
Constructor Summary
Constructors Constructor Description DrawableSurfaceTexture()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbindTexture(DrawContext dc)voiddraw(DrawContext dc)SectorgetSector()Matrix3getTexCoordTransform()static DrawableSurfaceTextureobtain(Pool<DrawableSurfaceTexture> pool)voidrecycle()DrawableSurfaceTextureset(SurfaceTextureProgram program, Sector sector, Texture texture, Matrix3 texCoordMatrix)
-
-
-
Field Detail
-
program
public SurfaceTextureProgram program
-
sector
public final Sector sector
-
color
public final Color color
-
texture
public Texture texture
-
texCoordMatrix
public final Matrix3 texCoordMatrix
-
-
Method Detail
-
obtain
public static DrawableSurfaceTexture obtain(Pool<DrawableSurfaceTexture> pool)
-
set
public DrawableSurfaceTexture set(SurfaceTextureProgram program, Sector sector, Texture texture, Matrix3 texCoordMatrix)
-
draw
public void draw(DrawContext dc)
-
getSector
public Sector getSector()
- Specified by:
getSectorin interfaceSurfaceTexture
-
getTexCoordTransform
public Matrix3 getTexCoordTransform()
- Specified by:
getTexCoordTransformin interfaceSurfaceTexture
-
bindTexture
public boolean bindTexture(DrawContext dc)
- Specified by:
bindTexturein interfaceSurfaceTexture
-
-