espresso3d.engine.lowlevel.texture
Class E3DTexture
java.lang.Object
espresso3d.engine.base.E3DEngineItem
espresso3d.engine.lowlevel.texture.E3DTexture
- Direct Known Subclasses:
- E3DAnimatedTexture
- public class E3DTexture
- extends E3DEngineItem
- Author:
- espresso3d
This is a texture item in the texture map containing the textureID in memory of the loaded texture
and the texture's name
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
E3DTexture
public E3DTexture(E3DEngine engine,
java.lang.String textureName,
int glTextureID)
E3DTexture
public E3DTexture(E3DEngine engine,
java.lang.String textureName)
getGlTextureID
public int getGlTextureID()
- Returns:
- Returns the glTextureID.
set
public void set(E3DTexture texture)
setGlTextureID
public void setGlTextureID(int glTextureID)
- Parameters:
glTextureID - The glTextureID to set.
getTextureName
public java.lang.String getTextureName()
- Returns:
- Returns the textureName.
setTextureName
public void setTextureName(java.lang.String textureName)
- Parameters:
textureName - The textureName to set.
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)