Texture2D.WrapMode Enum
The texture wrap mode
Index
REPEATCLAMP_TO_EDGEMIRRORED_REPEAT
Details
REPEAT
The constant variable equals gl.REPEAT for texture
| meta | description |
|---|---|
| Type | Number |
| Defined in | 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 |
|---|---|
| Type | Number |
| Defined in | 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 |
|---|---|
| Type | Number |
| Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:157 |