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 ITextureGraphicGL
public void init(java.awt.image.BufferedImage image, javax.media.opengl.GL gl)
init
in interface ITextureGraphicGL
public int id()
id
in interface ITextureGraphicGL
public int width()
width
in interface ITextureGraphicGL
public int height()
height
in interface ITextureGraphicGL
public void destroy(javax.media.opengl.GL gl)
destroy
in interface ITextureGraphicGL
public void destroy()
destroy
in interface ITextureGraphicGL