Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration WRAP_MODES

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.

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

Index

Enumeration members

Enumeration members

CLAMP

CLAMP: = 33071

MIRRORED_REPEAT

MIRRORED_REPEAT: = 33648

REPEAT

REPEAT: = 10497

Generated using TypeDoc