Texture2D.WrapMode 枚举
The texture wrap mode
索引
REPEAT
CLAMP_TO_EDGE
MIRRORED_REPEAT
Details
REPEAT
The constant variable equals gl.REPEAT for texture
meta | description |
---|---|
类型 | Number |
定义于 | cocos2d/core/assets/CCTexture2D.js:166 |
CLAMP_TO_EDGE
The constant variable equals gl.CLAMP_TO_EDGE for texture
meta | description |
---|---|
类型 | Number |
定义于 | cocos2d/core/assets/CCTexture2D.js:173 |
MIRRORED_REPEAT
The constant variable equals gl.MIRRORED_REPEAT for texture
meta | description |
---|---|
类型 | Number |
定义于 | cocos2d/core/assets/CCTexture2D.js:180 |