The wrap modes that are supported by pixi.

The 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.


Properties from WRAP_MODES

Public Properties

CLAMP index.ts:312
static CLAMP: number

The textures uvs are clamped

MIRRORED_REPEAT index.ts:312
static MIRRORED_REPEAT: number

The texture uvs tile and repeat with mirroring

REPEAT index.ts:312
static REPEAT: number

The texture uvs tile and repeat

Powered by webdoc!