Texture2D.WrapMode 枚举

模块: cc 父模块: cc

The texture wrap mode

索引

  • REPEAT
  • CLAMP_TO_EDGE
  • MIRRORED_REPEAT

Details

REPEAT

The constant variable equals gl.REPEAT for texture

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:143
CLAMP_TO_EDGE

The constant variable equals gl.CLAMP_TO_EDGE for texture

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:150
MIRRORED_REPEAT

The constant variable equals gl.MIRRORED_REPEAT for texture

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:157

条与 "" 相匹配的结果

    没有与 "" 匹配的结果