AddressMode


public final class AddressMode


Defines how texture coordinates outside the 0, 1 range are handled.

Summary

Constants

static final int

Clamps coordinates to the edge of the texture.

static final int

Repeats the texture, mirroring it at each integer boundary.

static final int
Repeat = 2

Repeats the texture in a tiling pattern.

static final int

Indicates that no address mode is specified.

Public methods

static final @NonNull String
toString(int value)

Constants

ClampToEdge

public static final int ClampToEdge = 1

Clamps coordinates to the edge of the texture.

MirrorRepeat

public static final int MirrorRepeat = 3

Repeats the texture, mirroring it at each integer boundary.

Repeat

public static final int Repeat = 2

Repeats the texture in a tiling pattern.

Undefined

public static final int Undefined = 0

Indicates that no address mode is specified.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)