Top Description Fields Constructors Methods
org.lwjgl.opengles

public final Class IMGTextureFilterCubic

extends Object
Class Inheritance

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 TypeField and Description
public static final int
GL_CUBIC_IMG

Accepted by the params parameters of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, SamplerParameterf, SamplerParameterfv, SamperParameteri and SamplerParameteriv, and returned in params by GetTexParameterfv, GetTexParameteriv, GetSamplerParameterfv and GetSamplerParameteriv when pname is TEXTURE_MIN_FILTER or TEXTURE_MAG_FILTER in either case.

public static final int
GL_CUBIC_MIPMAP_LINEAR_IMG

Accepted as above only when pname is TEXTURE_MIN_FILTER.

public static final int
GL_CUBIC_MIPMAP_NEAREST_IMG

Accepted as above only when pname is TEXTURE_MIN_FILTER.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_CUBIC_IMGback to summary
public static final int GL_CUBIC_IMG

Accepted by the params parameters of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, SamplerParameterf, SamplerParameterfv, SamperParameteri and SamplerParameteriv, and returned in params by GetTexParameterfv, GetTexParameteriv, GetSamplerParameterfv and GetSamplerParameteriv when pname is TEXTURE_MIN_FILTER or TEXTURE_MAG_FILTER in either case.

GL_CUBIC_MIPMAP_LINEAR_IMGback to summary
public static final int GL_CUBIC_MIPMAP_LINEAR_IMG

Accepted as above only when pname is TEXTURE_MIN_FILTER.

GL_CUBIC_MIPMAP_NEAREST_IMGback to summary
public static final int GL_CUBIC_MIPMAP_NEAREST_IMG

Accepted as above only when pname is TEXTURE_MIN_FILTER.

Constructor Detail

IMGTextureFilterCubicback to summary
private IMGTextureFilterCubic()