Texture2D.WrapMode Enum

Module: cc Parent Module: cc

The texture wrap mode

Index

  • REPEAT
  • CLAMP_TO_EDGE
  • MIRRORED_REPEAT

Details

REPEAT

The constant variable equals gl.REPEAT for texture

meta description
Type Number
Defined in cocos2d/core/assets/CCTexture2D.js:197
CLAMP_TO_EDGE

The constant variable equals gl.CLAMP_TO_EDGE for texture

meta description
Type Number
Defined in cocos2d/core/assets/CCTexture2D.js:204
MIRRORED_REPEAT

The constant variable equals gl.MIRRORED_REPEAT for texture

meta description
Type Number
Defined in cocos2d/core/assets/CCTexture2D.js:211

results matching ""

    No results matching ""