LogoPixi’VN
pixi-jsEnumerations

Enumeration: GL\_WRAP\_MODES

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/texture/const.d.ts:49

The wrap modes that are supported by pixi.

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

Advanced

Enumeration Members

CLAMP

> CLAMP: 33071

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/texture/const.d.ts:54

The textures uvs are clamped

Default

33071

MIRRORED_REPEAT

> MIRRORED_REPEAT: 33648

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/texture/const.d.ts:64

The texture uvs tile and repeat with mirroring

Default

33648

REPEAT

> REPEAT: 10497

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/texture/const.d.ts:59

The texture uvs tile and repeat

Default

10497