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 Details

    • 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 Details

    • Parameters

      public Parameters()
      Sets all the parameters to default values.
    • Parameters

      public Parameters(int format)
    • Parameters

      public Parameters(int format, int sampling)
    • Parameters

      public Parameters(int format, int sampling, boolean mipmaps)
    • Parameters

      public Parameters(int format, int sampling, boolean mipmaps, int wrap)
    • Parameters

      public Parameters(Texture.Parameters src)
  • Method Details

    • 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)