AddressMode


public final class AddressMode

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

Summary

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 StringtoString(int value)