Update API doc for CCTexture2D

This commit is contained in:
pandamicro
2017-03-17 14:01:03 +08:00
parent d54555fee0
commit c27eea7a15
+8 -4
View File
@@ -332,16 +332,20 @@ var Texture2D = cc.Class(/** @lends cc.Texture2D# */{
/**
* sets antialias texture parameters: <br/>
* - GL_TEXTURE_MIN_FILTER = GL_NEAREST <br/>
* - GL_TEXTURE_MAG_FILTER = GL_NEAREST
* - GL_TEXTURE_MAG_FILTER = GL_NEAREST <br/>
* supported only in native or WebGl rendering mode
* @method setAntiAliasTexParameters
*/
setAntiAliasTexParameters: function () {
//support only in WebGl rendering mode
},
/**
* Sets alias texture parameters:
* GL_TEXTURE_MIN_FILTER = GL_NEAREST
* GL_TEXTURE_MAG_FILTER = GL_NEAREST
* Sets alias texture parameters: <br/>
* GL_TEXTURE_MIN_FILTER = GL_NEAREST <br/>
* GL_TEXTURE_MAG_FILTER = GL_NEAREST <br/>
* supported only in native or WebGl rendering mode
* @method setAliasTexParameters
*/
setAliasTexParameters: function () {
//support only in WebGl rendering mode