Options for what value is returned when a fetch falls outside the bounds of a texture.

Enumeration Members

ClampToBorderColor: number

Outside the range of 0 to 1, texture coordinates return the value specified by the borderColor property.

ClampToEdge: number

Texture coordinates will be clamped between 0 and 1.

MirroredRepeat: number

Between -1 and 1, the texture is mirrored across the 0 axis. The image is repeated outside of that range.

Repeat: number

Wrap to the other side of the texture, effectively ignoring the integer part of the number to keep only the fractional part of the texture coordinate.