de.grogra.imp3d.glsl
Class TextureManager

java.lang.Object
  extended by de.grogra.imp3d.glsl.TextureManager

public class TextureManager
extends java.lang.Object


Constructor Summary
TextureManager()
           
 
Method Summary
 void deleteTexture(javax.media.opengl.GL gl, java.awt.Image image)
           
 void deleteTextures(javax.media.opengl.GL gl)
          Delete all textures.
 int estimateSizeInByte()
           
 Texture getTexture(javax.media.opengl.GL gl, java.awt.Image img)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextureManager

public TextureManager()
Method Detail

deleteTexture

public void deleteTexture(javax.media.opengl.GL gl,
                          java.awt.Image image)

deleteTextures

public void deleteTextures(javax.media.opengl.GL gl)
Delete all textures.

Parameters:
gl -

estimateSizeInByte

public int estimateSizeInByte()

getTexture

public Texture getTexture(javax.media.opengl.GL gl,
                          java.awt.Image img)