Texture2D.WrapMode
Enum
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:130 |
CLAMP_TO_EDGE
The constant variable equals gl.CLAMP_TO_EDGE for texture
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/assets/CCTexture2D.js:137 |
MIRRORED_REPEAT
The constant variable equals gl.MIRRORED_REPEAT for texture
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/assets/CCTexture2D.js:144 |