SetImageWrapU

Description

Sets the UV wrap mode of the image when the U coordinate goes outside the range 0-1. The default is mode 0 which clamps the pixel value to the last valid pixel, mode 1 repeats the texture starting from the opposite side.

To use UV values outside 0-1 successfully on all platforms the image in question must be a power of 2 in width and height, and not be part of an atlas texture. This applies to both clamp and repeat.

Definition

SetImageWrapU( iImageIndex, mode )

Parameters