Texture2D.Filter
Enum
The texture filter mode
Index
LINEAR
NEAREST
Details
LINEAR
The constant variable equals gl.LINEAR for texture
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:171 |
NEAREST
The constant variable equals gl.NEAREST for texture
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/textures/CCTexture2D.js:178 |