public abstract class ALsp2DTextureObject extends ALspTextureObject
Modifier | Constructor and Description |
---|---|
protected |
ALsp2DTextureObject(int aWidth,
int aHeight)
Constructs a new
ALsp2DTextureObject . |
protected |
ALsp2DTextureObject(String aDisplayName,
int aWidth,
int aHeight)
Constructs a new
ALsp2DTextureObject . |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height of the texture.
|
int |
getTarget()
Gets the target for this texture.
|
int |
getWidth()
Gets the width of the texture.
|
bind, destroy, getBytes, getTextureObject, init, isDestroyed, unbind
getSourceString, isBound, toString
protected ALsp2DTextureObject(int aWidth, int aHeight)
ALsp2DTextureObject
.aWidth
- the width of the texture.aHeight
- the height of the texture.protected ALsp2DTextureObject(String aDisplayName, int aWidth, int aHeight)
ALsp2DTextureObject
.aDisplayName
- the display name for the texture.aWidth
- the width of the texture.aHeight
- the height of the texture.public final int getTarget()
ILcdGL.GL_TEXTURE_2D
.getTarget
in class ALspTextureObject
ILcdGL.GL_TEXTURE_2D
public final int getWidth()
public final int getHeight()