Class ARBTextureFilterMinmax
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
Modifier and TypeFieldDescriptionstatic final int
Accepted by thepname
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 theparam
orparams
parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv whenpname
is TEXTURE_REDUCTION_MODE_ARB. -
Method Summary
-
Field Details
-
GL_TEXTURE_REDUCTION_MODE_ARB
public static final int GL_TEXTURE_REDUCTION_MODE_ARBAccepted by thepname
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_ARBAccepted by theparam
orparams
parameter to SamplerParameter{i f}{v}, SamplerParameterI{u}iv, TexParameter{i f}{v}, TexParameterI{u}iv, TextureParameter{i f}{v}, and TextureParameterI{u}iv whenpname
is TEXTURE_REDUCTION_MODE_ARB.- See Also:
-