Texture2D.WrapMode
Enum
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 | 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 |