The {@link PIXI.settings.WRAP_MODE} wrap mode affects the default wrapping mode of future operations.
It can be re-assigned to either CLAMP or REPEAT, depending upon suitability.
If the texture is non power of two then clamp will be used regardless as WebGL can
only use REPEAT if the texture is po2.
This property only affects WebGL.
name
WRAP_MODES
memberof
PIXI
static
property
{number} CLAMP - The textures uvs are clamped
property
{number} REPEAT - The texture uvs tile and repeat
property
{number} MIRRORED_REPEAT - The texture uvs tile and repeat with mirroring
The wrap modes that are supported by pixi.
The {@link PIXI.settings.WRAP_MODE} wrap mode affects the default wrapping mode of future operations. It can be re-assigned to either CLAMP or REPEAT, depending upon suitability. If the texture is non power of two then clamp will be used regardless as WebGL can only use REPEAT if the texture is po2.
This property only affects WebGL.
WRAP_MODES
PIXI
{number} CLAMP - The textures uvs are clamped
{number} REPEAT - The texture uvs tile and repeat
{number} MIRRORED_REPEAT - The texture uvs tile and repeat with mirroring