processing.opengl

## Class Texture.Parameters

- java.lang.Object
- - processing.opengl.Texture.Parameters

- Enclosing class:
    Texture

      public static class Texture.Parameters
      extends Object

  This class stores the parameters for a texture: target, internal format, minimization filter and magnification filter.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `format` Texture internal format.
    `boolean` | `mipmaps` Use mipmaps or not.
    `int` | `sampling` Texture filtering (POINT, LINEAR, BILINEAR or TRILINEAR).
    `int` | `target` Texture target.
    `int` | `wrapU` Wrapping mode along U.
    `int` | `wrapV` Wrapping mode along V.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Texture.Parameters()` Sets all the parameters to default values.
    `Texture.Parameters(int format)`
    `Texture.Parameters(int format, int sampling)`
    `Texture.Parameters(int format, int sampling, boolean mipmaps)`
    `Texture.Parameters(int format, int sampling, boolean mipmaps, int wrap)`
    `Texture.Parameters(Texture.Parameters src)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `set(int format)`
    `void` | `set(int format, int sampling)`
    `void` | `set(int format, int sampling, boolean mipmaps)`
    `void` | `set(Texture.Parameters src)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### target

          public int target

      Texture target.

    - #### format

          public int format

      Texture internal format.

    - #### sampling

          public int sampling

      Texture filtering (POINT, LINEAR, BILINEAR or TRILINEAR).

    - #### mipmaps

          public boolean mipmaps

      Use mipmaps or not.

    - #### wrapU

          public int wrapU

      Wrapping mode along U.

    - #### wrapV

          public int wrapV

      Wrapping mode along V.

  - ### Constructor Detail

    - #### Texture.Parameters

          public Texture.Parameters()

      Sets all the parameters to default values.

    - #### Texture.Parameters

          public Texture.Parameters(int format)

    - #### Texture.Parameters

          public Texture.Parameters(int format,
                            int sampling)

    - #### Texture.Parameters

          public Texture.Parameters(int format,
                            int sampling,
                            boolean mipmaps)

    - #### Texture.Parameters

          public Texture.Parameters(int format,
                            int sampling,
                            boolean mipmaps,
                            int wrap)

    - #### Texture.Parameters

          public Texture.Parameters(Texture.Parameters src)

  - ### Method Detail

    - #### set

          public void set(int format)

    - #### set

          public void set(int format,
                 int sampling)

    - #### set

          public void set(int format,
                 int sampling,
                 boolean mipmaps)

    - #### set

          public void set(Texture.Parameters src)