public final class ARBTextureFilterMinmax
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static 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. |
static 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. |
public static final int GL_TEXTURE_REDUCTION_MODE_ARB
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.public static final int GL_WEIGHTED_AVERAGE_ARB
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.Copyright LWJGL. All Rights Reserved. License terms.