Module gl1

Class Texture

java.lang.Object
de.grogra.glsl.Texture

public class Texture extends 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 Details

    • index

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

    • Texture

      public Texture()
  • Method Details

    • estimateSizeInByte

      public int estimateSizeInByte()