TextureMinificationFilter

Enumerates all possible filters used when minifying WebGL textures.
Properties:
Name Type Description
NEAREST Number Samples the texture by returning the closest pixel.
LINEAR Number Samples the texture through bi-linear interpolation of the four nearest pixels. This produces smoother results than NEAREST filtering.
NEAREST_MIPMAP_NEAREST Number Selects the nearest mip level and applies nearest sampling within that level.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

LINEAR_MIPMAP_NEAREST Number Selects the nearest mip level and applies linear sampling within that level.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

NEAREST_MIPMAP_LINEAR Number Read texture values with nearest sampling from two adjacent mip levels and linearly interpolate the results.

This option provides a good balance of visual quality and speed when sampling from a mipmapped texture.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

LINEAR_MIPMAP_LINEAR Number Read texture values with linear sampling from two adjacent mip levels and linearly interpolate the results.

This option provides a good balance of visual quality and speed when sampling from a mipmapped texture.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

See:

Members

static constant Cesium.TextureMinificationFilter.LINEAR : Number

Samples the texture through bi-linear interpolation of the four nearest pixels. This produces smoother results than NEAREST filtering.
Default Value: WebGLConstants.LINEAR

static constant Cesium.TextureMinificationFilter.LINEAR_MIPMAP_LINEAR : Number

Read texture values with linear sampling from two adjacent mip levels and linearly interpolate the results.

This option provides a good balance of visual quality and speed when sampling from a mipmapped texture.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

Default Value: WebGLConstants.LINEAR_MIPMAP_LINEAR

static constant Cesium.TextureMinificationFilter.LINEAR_MIPMAP_NEAREST : Number

Selects the nearest mip level and applies linear sampling within that level.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

Default Value: WebGLConstants.LINEAR_MIPMAP_NEAREST

static constant Cesium.TextureMinificationFilter.NEAREST : Number

Samples the texture by returning the closest pixel.
Default Value: WebGLConstants.NEAREST

static constant Cesium.TextureMinificationFilter.NEAREST_MIPMAP_LINEAR : Number

Read texture values with nearest sampling from two adjacent mip levels and linearly interpolate the results.

This option provides a good balance of visual quality and speed when sampling from a mipmapped texture.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

Default Value: WebGLConstants.NEAREST_MIPMAP_LINEAR

static constant Cesium.TextureMinificationFilter.NEAREST_MIPMAP_NEAREST : Number

Selects the nearest mip level and applies nearest sampling within that level.

Requires that the texture has a mipmap. The mip level is chosen by the view angle and screen-space size of the texture.

Default Value: WebGLConstants.NEAREST_MIPMAP_NEAREST