### codeanticode.glgraphics

# Class GLTextureParameters

- `java.lang.Object`
- - `codeanticode.glgraphics.GLTextureParameters`

Implemented Interfaces:
  GLConstants, PConstants

`public class GLTextureParameters`
`extends java.lang.Object`
`implements GLConstants, PConstants`

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.

  ## Constructor Summary
  `GLTextureParameters()` Creates an instance of GLTextureParameters, setting all the parameters to default values.
  `GLTextureParameters(int format)`
  `GLTextureParameters(int format, int filter)`

## Field Details

### format

    public int format

> Texture internal format.

### magFilter

    public int magFilter

> Texture magnification filter.

### minFilter

    public int minFilter

> Texture minimization filter.

### target

    public int target

> Texture target.

## Constructor Details

### GLTextureParameters

    public GLTextureParameters()

> Creates an instance of GLTextureParameters, setting all the parameters to default values.

### GLTextureParameters

    public GLTextureParameters(int format)

### GLTextureParameters

    public GLTextureParameters(int format,
                               int filter)

processing library glgraphics by Andres Colubri. (c) 2008