Determine how to handle textures coordinates
that fall outside of the range [0, 1].
Member | Value | Description |
---|---|---|
eStkGraphicsTextureWrapClamp | 0 | Clamp the texture
coordinate to the range [0, 1] . |
eStkGraphicsTextureWrapClampToBorder | 1 | Clamp the texture
coordinate to the range [-1/2N, 1 + 1/2N] , where
N is the size the texture in the direction of
clamping. |
eStkGraphicsTextureWrapClampToEdge | 2 | Clamp the texture
coordinate to the range [1/2N, 1 - 1/2N] , where
N is the size the texture in the direction of
clamping. |
eStkGraphicsTextureWrapMirroredRepeat | 3 | If the integer part of the texture coordinate is even, use the fractional part of the texture coordinate. Otherwise, use one minus the fractional part of the texture coordinate. |
eStkGraphicsTextureWrapRepeat | 4 | Ignore the integer part of the texture coordinate. |