Texture2D.Filter Enum

Module: cc Parent Module: cc

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

results matching ""

    No results matching ""