TextureSampler.MagFilter


object TextureSampler.MagFilter


Specifies how the texture is sampled when it's magnified (appears larger 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

No filtering.

Constants

LINEAR

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

Box filtering. Weighted average of 4 neighbors is used.

NEAREST

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

No filtering. Nearest neighbor is used.