de.grogra.imp3d.glsl
Class Texture

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

public class Texture
extends java.lang.Object

In GroIMP3D images are converted to OpenGL textures on demand. The result of such a conversion is an instance of this class, which provides all necessary information about the OpenGL texture.

Author:
nmi

Field Summary
 int index
          OpenGL index number for texture.
 
Constructor Summary
Texture()
           
 
Method Summary
 int estimateSizeInByte()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index
OpenGL index number for texture. If index is 0, then there is no texture stored by opengl internally.

Constructor Detail

Texture

public Texture()
Method Detail

estimateSizeInByte

public int estimateSizeInByte()