Package org.lwjgl.opengles
Class IMGTextureFilterCubic
java.lang.Object
org.lwjgl.opengles.IMGTextureFilterCubic
Native bindings to the IMG_texture_filter_cubic extension.
OpenGL ES provides two sampling methods available; nearest neighbor or linear filtering, with optional MIP Map sampling modes added to move between differently sized textures when downsampling.
This extension adds an additional, high quality cubic filtering mode, using a Catmull-Rom bicubic filter. Performing this kind of filtering can be done in a shader by using 16 samples, but this can be inefficient. The cubic filter mode exposes an optimized high quality texture sampling using fixed functionality.
This extension affects the way textures are sampled, by modifying the way texels within the same MIP-Map level are sampled and resolved. It does not affect MIP-Map filtering, which is still limited to linear or nearest.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by theparams
parameters of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, SamplerParameterf, SamplerParameterfv, SamperParameteri and SamplerParameteriv, and returned inparams
by GetTexParameterfv, GetTexParameteriv, GetSamplerParameterfv and GetSamplerParameteriv whenpname
is TEXTURE_MIN_FILTER or TEXTURE_MAG_FILTER in either case.static final int
Accepted as above only whenpname
is TEXTURE_MIN_FILTER.static final int
Accepted as above only whenpname
is TEXTURE_MIN_FILTER. -
Method Summary
-
Field Details
-
GL_CUBIC_IMG
public static final int GL_CUBIC_IMGAccepted by theparams
parameters of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, SamplerParameterf, SamplerParameterfv, SamperParameteri and SamplerParameteriv, and returned inparams
by GetTexParameterfv, GetTexParameteriv, GetSamplerParameterfv and GetSamplerParameteriv whenpname
is TEXTURE_MIN_FILTER or TEXTURE_MAG_FILTER in either case.- See Also:
-
GL_CUBIC_MIPMAP_NEAREST_IMG
public static final int GL_CUBIC_MIPMAP_NEAREST_IMGAccepted as above only whenpname
is TEXTURE_MIN_FILTER.- See Also:
-
GL_CUBIC_MIPMAP_LINEAR_IMG
public static final int GL_CUBIC_MIPMAP_LINEAR_IMGAccepted as above only whenpname
is TEXTURE_MIN_FILTER.- See Also:
-