TextureClampMode

Texture clamp mode for wrap x, wrap y, wrap z.

Values

ValueMeaning
ClampToBorderGL_CLAMP_TO_BORDER

Clamps the texture coordinate at the border. Will include a border.

ClampToEdgeGL_CLAMP_TO_EDGE

Clamps the texture coordinate at the edge of the texture.

RepeatGL_REPEAT

Repeats the texture coordinate when being larger than 1.

MirrorGL_MIRRORED_REPEAT

Repeats the texture coordinate and mirrors every time for better tiling.

Meta