TextureSampler.MinFilter


object TextureSampler.MinFilter


Specifies how the texture is sampled when it's minified (appears smaller than its original size). Although these values are based on the public Filament values, they may diverge over time.

Summary

Constants

const Int
LINEAR = 1

Box filtering.

const Int

Both interpolated Mip-mapping and linear filtering are used.

const Int

Box filtering within a mip-map level.

const Int

No filtering.

const Int

Mip-map levels are interpolated, but no other filtering occurs.

const Int

Mip-mapping is activated.

Constants

LINEAR

Added in 1.0.0-alpha04
const val LINEAR = 1: Int

Box filtering. Weighted average of 4 neighbors is used.

LINEAR_MIPMAP_LINEAR

Added in 1.0.0-alpha04
const val LINEAR_MIPMAP_LINEAR = 5: Int

Both interpolated Mip-mapping and linear filtering are used.

LINEAR_MIPMAP_NEAREST

Added in 1.0.0-alpha04
const val LINEAR_MIPMAP_NEAREST = 3: Int

Box filtering within a mip-map level.

NEAREST

Added in 1.0.0-alpha04
const val NEAREST = 0: Int

No filtering. Nearest neighbor is used.

NEAREST_MIPMAP_LINEAR

Added in 1.0.0-alpha04
const val NEAREST_MIPMAP_LINEAR = 4: Int

Mip-map levels are interpolated, but no other filtering occurs.

NEAREST_MIPMAP_NEAREST

Added in 1.0.0-alpha04
const val NEAREST_MIPMAP_NEAREST = 2: Int

Mip-mapping is activated. But no filtering occurs.