org.mt4j.util.opengl
Class GLTextureParameters

java.lang.Object
  extended by org.mt4j.util.opengl.GLTextureParameters
All Implemented Interfaces:
GLConstants

public class GLTextureParameters
extends java.lang.Object

    
implements GLConstants

    

This class stores the parameters for a texture: target, internal format, minimization filter and magnification filter. Original file Copyright (c) by Andrés Colubri


Field Summary
 int format
          Texture internal format.
 int magFilter
          Texture magnification filter.
 int minFilter
          Texture minimization filter.
 int target
          Texture target.
 int wrap_s
           
 int wrap_t
           
 
Fields inherited from interface org.mt4j.util.opengl.GLConstants
COLOR, DOUBLE4, FLOAT4, GL_DEPTH_STENCIL, GL_DEPTH24_STENCIL8, GL_UNSIGNED_INT_24_8, GLGRAPHICS, LINEAR, LINEAR_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, NEAREST, NEAREST_MIPMAP_LINEAR, NEAREST_MIPMAP_NEAREST, NORMAL, ONEDIM, RECTANGULAR, TEX_INT, TEX_UBYTE, TEX1, TEX3, TEX4
 
Constructor Summary
GLTextureParameters()
          Creates an instance of GLTextureParameters, setting all the parameters to default values.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

public int target
Texture target.


format

public int format
Texture internal format.


minFilter

public int minFilter
Texture minimization filter.


magFilter

public int magFilter
Texture magnification filter.


wrap_s

public int wrap_s

wrap_t

public int wrap_t
Constructor Detail

GLTextureParameters

public GLTextureParameters()
Creates an instance of GLTextureParameters, setting all the parameters to default values.