Class ARBTextureFilterMinmax
- java.lang.Object
-
- org.lwjgl.opengl.ARBTextureFilterMinmax
-
public final class ARBTextureFilterMinmax extends java.lang.ObjectNative bindings to the ARB_texture_filter_minmax extension.In unextended OpenGL, minification and magnification filters such as
LINEARallow 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 and Description static intGL_TEXTURE_REDUCTION_MODE_ARBAccepted by thepnameparameter 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 intGL_WEIGHTED_AVERAGE_ARBAccepted by theparamorparamsparameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv whenpnameis TEXTURE_REDUCTION_MODE_ARB.
-
-
-
Field Detail
-
GL_TEXTURE_REDUCTION_MODE_ARB
public static final int GL_TEXTURE_REDUCTION_MODE_ARB
Accepted by thepnameparameter 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:
- Constant Field Values
-
GL_WEIGHTED_AVERAGE_ARB
public static final int GL_WEIGHTED_AVERAGE_ARB
Accepted by theparamorparamsparameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv whenpnameis TEXTURE_REDUCTION_MODE_ARB.- See Also:
- Constant Field Values
-
-