TextureSampler.MagFilter


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

static final int
LINEAR = 1

Box filtering.

static final int

No filtering.

Public fields

static @NonNull TextureSampler.MagFilter

Constants

LINEAR

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

Box filtering. Weighted average of 4 neighbors is used.

NEAREST

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

No filtering. Nearest neighbor is used.

Public fields

INSTANCE

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