Defines the values to use for sampler wrap mode

Variables

inline read onlyCLAMP:Context3DWrapMode = 0

Clamp texture coordinates outside the 0..1 range.

The function is x = max(min(x,0),1)

inline read onlyCLAMP_U_REPEAT_V:Context3DWrapMode = 1

Clamp in U axis but Repeat in V axis.

inline read onlyREPEAT:Context3DWrapMode = 2

Repeat (tile) texture coordinates outside the 0..1 range.

The function is x = x<0?1.0-frac(abs(x)):frac(x)

inline read onlyREPEAT_U_CLAMP_V:Context3DWrapMode = 3

Repeat in U axis but Clamp in V axis.