espresso3d.engine.lowlevel.texture
Class E3DTexture

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.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

Constructor Summary
E3DTexture(E3DEngine engine, java.lang.String textureName)
           
E3DTexture(E3DEngine engine, java.lang.String textureName, int glTextureID)
           
 
Method Summary
 int getGlTextureID()
           
 int getHeight()
           
 java.lang.String getTextureName()
           
 int getWidth()
           
 void set(E3DTexture texture)
           
 void setGlTextureID(int glTextureID)
           
 void setHeight(int height)
           
 void setTextureName(java.lang.String textureName)
           
 void setWidth(int width)
           
 
Methods inherited from class espresso3d.engine.base.E3DEngineItem
getEngine, setEngine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

E3DTexture

public E3DTexture(E3DEngine engine,
                  java.lang.String textureName,
                  int glTextureID)

E3DTexture

public E3DTexture(E3DEngine engine,
                  java.lang.String textureName)
Method Detail

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)