TextureSampler.MinFilter


public static class 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

static final int
LINEAR = 1

Box filtering.

static final int

Both interpolated Mip-mapping and linear filtering are used.

static final int

Box filtering within a mip-map level.

static final int

No filtering.

static final int

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

static final int

Mip-mapping is activated.

Public fields

static @NonNull TextureSampler.MinFilter

Constants

LINEAR

Added in 1.0.0-alpha04
public static final int LINEAR = 1

Box filtering. Weighted average of 4 neighbors is used.

LINEAR_MIPMAP_LINEAR

Added in 1.0.0-alpha04
public static final int LINEAR_MIPMAP_LINEAR = 5

Both interpolated Mip-mapping and linear filtering are used.

LINEAR_MIPMAP_NEAREST

Added in 1.0.0-alpha04
public static final int LINEAR_MIPMAP_NEAREST = 3

Box filtering within a mip-map level.

NEAREST

Added in 1.0.0-alpha04
public static final int NEAREST = 0

No filtering. Nearest neighbor is used.

NEAREST_MIPMAP_LINEAR

Added in 1.0.0-alpha04
public static final int NEAREST_MIPMAP_LINEAR = 4

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

NEAREST_MIPMAP_NEAREST

Added in 1.0.0-alpha04
public static final int NEAREST_MIPMAP_NEAREST = 2

Mip-mapping is activated. But no filtering occurs.

Public fields

INSTANCE

Added in 1.0.0-alpha04
public static @NonNull TextureSampler.MinFilter INSTANCE