Class ARBTextureFilterMinmax

java.lang.Object
org.lwjgl.opengl.ARBTextureFilterMinmax

public final class ARBTextureFilterMinmax extends Object
Native bindings to the ARB_texture_filter_minmax extension.

In unextended OpenGL, minification and magnification filters such as LINEAR allow texture lookups to returned a filtered texel value produced by computing an weighted average of a collection of texels in the neighborhood of the texture coordinate provided.

This extension provides a new texture and sampler parameter (TEXTURE_REDUCTION_MODE_ARB) which allows applications to produce a filtered texel value by computing a component-wise minimum (MIN) or maximum (MAX) of the texels that would normally be averaged. The reduction mode is orthogonal to the minification and magnification filter parameters. The filter parameters are used to identify the set of texels used to produce a final filtered value; the reduction mode identifies how these texels are combined.

Requires OpenGL 3.3.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the pname parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, GetSamplerParameter{i f}v, GetSamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, GetTexParameter{i f}v, GetTexParameterI{u}iv, TextureParameter{i f}{v}, TextureParameterI{u}iv, GetTextureParameter{i f}v, and GetTextureParameterI{u}iv.
    static final int
    Accepted by the param or params parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv when pname is TEXTURE_REDUCTION_MODE_ARB.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_TEXTURE_REDUCTION_MODE_ARB

      public static final int GL_TEXTURE_REDUCTION_MODE_ARB
      Accepted by the pname parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, GetSamplerParameter{i f}v, GetSamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, GetTexParameter{i f}v, GetTexParameterI{u}iv, TextureParameter{i f}{v}, TextureParameterI{u}iv, GetTextureParameter{i f}v, and GetTextureParameterI{u}iv.
      See Also:
    • GL_WEIGHTED_AVERAGE_ARB

      public static final int GL_WEIGHTED_AVERAGE_ARB
      Accepted by the param or params parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv when pname is TEXTURE_REDUCTION_MODE_ARB.
      See Also: