TextureSampler.WrapMode


object 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

const Int

The edge of the texture extends to infinity.

const Int

The texture infinitely repeats and mirrors in the wrap direction.

const Int
REPEAT = 1

The texture infinitely repeats in the wrap direction.

Constants

CLAMP_TO_EDGE

Added in 1.0.0-alpha04
const val CLAMP_TO_EDGE = 0: Int

The edge of the texture extends to infinity.

MIRRORED_REPEAT

Added in 1.0.0-alpha04
const val MIRRORED_REPEAT = 2: Int

The texture infinitely repeats and mirrors in the wrap direction.

REPEAT

Added in 1.0.0-alpha04
const val REPEAT = 1: Int

The texture infinitely repeats in the wrap direction.