Texture2D.WrapMode 枚举

模块: cc父模块: cc

The texture wrap mode

索引

  • REPEAT
  • CLAMP_TO_EDGE
  • MIRRORED_REPEAT

Details

REPEAT
The constant variable equals gl.REPEAT for texture
metadescription
类型Number
定义于cocos2d/core/assets/CCTexture2D.js:166
CLAMP_TO_EDGE
The constant variable equals gl.CLAMP_TO_EDGE for texture
metadescription
类型Number
定义于cocos2d/core/assets/CCTexture2D.js:173
MIRRORED_REPEAT
The constant variable equals gl.MIRRORED_REPEAT for texture
metadescription
类型Number
定义于cocos2d/core/assets/CCTexture2D.js:180