Package gov.nasa.worldwind.render
Class Texture
- java.lang.Object
-
- gov.nasa.worldwind.render.Texture
-
- All Implemented Interfaces:
RenderResource
public class Texture extends java.lang.Object implements RenderResource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbindTexture(DrawContext dc)intgetByteCount()intgetHeight()Matrix3getTexCoordTransform()intgetTexParameter(int name)intgetTextureName(DrawContext dc)intgetWidth()voidrelease(DrawContext dc)Frees any resources associated with this instance.voidsetTexParameter(int name, int param)
-
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getByteCount
public int getByteCount()
-
getTexCoordTransform
public Matrix3 getTexCoordTransform()
-
getTexParameter
public int getTexParameter(int name)
-
setTexParameter
public void setTexParameter(int name, int param)
-
release
public void release(DrawContext dc)
Description copied from interface:RenderResourceFrees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.- Specified by:
releasein interfaceRenderResource- Parameters:
dc- the current draw context
-
getTextureName
public int getTextureName(DrawContext dc)
-
bindTexture
public boolean bindTexture(DrawContext dc)
-
-