org.jzy3d.plot3d.rendering.textures
Class SharedTexture
java.lang.Object
org.jzy3d.plot3d.rendering.textures.SharedTexture
- Direct Known Subclasses:
- BufferedImageTexture
public class SharedTexture
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedTexture
public SharedTexture(java.lang.String file)
getTexture
public com.sun.opengl.util.texture.Texture getTexture(javax.media.opengl.GL gl)
mount
public void mount()
- A GL context MUST be current.
getFile
public java.lang.String getFile()
getCoords
public com.sun.opengl.util.texture.TextureCoords getCoords()
getHalfWidth
public float getHalfWidth()
getHalfHeight
public float getHalfHeight()