AddressMode


class AddressMode


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

Summary

Constants

const Int

Clamps coordinates to the edge of the texture.

const Int

Repeats the texture, mirroring it at each integer boundary.

const Int
Repeat = 2

Repeats the texture in a tiling pattern.

const Int

Indicates that no address mode is specified.

Public companion functions

String
toString(value: Int)

Constants

ClampToEdge

const val ClampToEdge = 1: Int

Clamps coordinates to the edge of the texture.

MirrorRepeat

const val MirrorRepeat = 3: Int

Repeats the texture, mirroring it at each integer boundary.

Repeat

const val Repeat = 2: Int

Repeats the texture in a tiling pattern.

Undefined

const val Undefined = 0: Int

Indicates that no address mode is specified.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String