codeanticode.glgraphics
Class GLTextureParameters

java.lang.Object
  extended by codeanticode.glgraphics.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.


Field Summary
 int format
          Texture internal format.
 int magFilter
          Texture magnification filter.
 int minFilter
          Texture minimization filter.
 int target
          Texture target.
 
Fields inherited from interface codeanticode.glgraphics.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, RECTANGULAR
 
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.

Constructor Detail

GLTextureParameters

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