public class ITextureGraphicGL1 extends java.lang.Object implements ITextureGraphicGL
| Constructor and Description |
|---|
ITextureGraphicGL1(java.awt.image.BufferedImage image,
javax.media.opengl.GL gl)
constructor with AWT buffered image
|
ITextureGraphicGL1(java.lang.String filename)
constructor with image file name
|
ITextureGraphicGL1(java.lang.String filename,
javax.media.opengl.GL gl)
constructor with image file name
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
destroy(javax.media.opengl.GL gl) |
int |
height() |
int |
id() |
void |
init(java.awt.image.BufferedImage image,
javax.media.opengl.GL gl) |
void |
init(java.lang.String filename,
javax.media.opengl.GL gl) |
int |
width() |
public ITextureGraphicGL1(java.lang.String filename)
public ITextureGraphicGL1(java.lang.String filename,
javax.media.opengl.GL gl)
public ITextureGraphicGL1(java.awt.image.BufferedImage image,
javax.media.opengl.GL gl)
public void init(java.lang.String filename,
javax.media.opengl.GL gl)
init in interface ITextureGraphicGLpublic void init(java.awt.image.BufferedImage image,
javax.media.opengl.GL gl)
init in interface ITextureGraphicGLpublic int id()
id in interface ITextureGraphicGLpublic int width()
width in interface ITextureGraphicGLpublic int height()
height in interface ITextureGraphicGLpublic void destroy(javax.media.opengl.GL gl)
destroy in interface ITextureGraphicGLpublic void destroy()
destroy in interface ITextureGraphicGL