View source
enum abstract Context3DWrapMode(Null<Int>)
package openfl.display3D
Available on all platforms
Defines the values to use for sampler wrap mode
Variables
inlineread onlyCLAMP:Context3DWrapMode = 0
Clamp texture coordinates outside the 0..1 range.
The function is x = max(min(x,0),1)
inlineread 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)