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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted 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 final intAccepted 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. -
Method Summary
-
Field Details
-
GL_TEXTURE_REDUCTION_MODE_ARB
public static final int GL_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.- See Also:
-
GL_WEIGHTED_AVERAGE_ARB
public static final int GL_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.- See Also:
-