com.partnersoft.gui
Class GLTexture
java.lang.Object
com.partnersoft.gui.GLTexture
public class GLTexture
- extends java.lang.Object
This is a simple structure to store information needed by EZ2DGL
about a texture. It serves two roles; as an external definition it
includes the texture bitmap; as an internal
definition it it only includes the textureID, and the bitmap is generally discarded. .
- Author:
- Paul Reavis
Copyright 2004 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
textureID
public int textureID
pixels
public byte[] pixels
modulate
public boolean modulate
imageWidth
public int imageWidth
imageHeight
public int imageHeight
width
public int width
height
public int height
imageWidthf
public float imageWidthf
imageHeightf
public float imageHeightf
GLTexture
public GLTexture()
isValid
public boolean isValid()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getState
public Cog getState()
setState
public void setState(Cog newState)