TextureSampler.WrapMode


public static class TextureSampler.WrapMode


Defines how texture coordinates outside the range 0, 1 are handled. Although these values are based on the public Filament values, they may diverge over time.

Summary

Constants

static final int

The edge of the texture extends to infinity.

static final int

The texture infinitely repeats and mirrors in the wrap direction.

static final int
REPEAT = 1

The texture infinitely repeats in the wrap direction.

Public fields

static @NonNull TextureSampler.WrapMode

Constants

CLAMP_TO_EDGE

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

The edge of the texture extends to infinity.

MIRRORED_REPEAT

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

The texture infinitely repeats and mirrors in the wrap direction.

REPEAT

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

The texture infinitely repeats in the wrap direction.

Public fields

INSTANCE

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