Texture2D.PixelFormat 枚举

模块: cc 父模块: cc

The texture pixel format, default value is RGBA8888

索引

  • RGB565
  • RGB5A1
  • RGBA4444
  • RGB888
  • RGBA8888
  • A8
  • I8
  • AI88

Details

RGB565

16-bit texture without Alpha channel, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:80
RGB5A1

16-bit textures: RGB5A1, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:87
RGBA4444

16-bit textures: RGBA4444, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:94
RGB888

24-bit texture: RGB888, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:101
RGBA8888

32-bit texture: RGBA8888

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:108
A8

8-bit textures used as masks, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:115
I8

8-bit intensity texture, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:122
AI88

16-bit textures used as masks, not supported yet

meta description
类型 Number
定义于 cocos2d/core/textures/CCTexture2D.js:129

results matching ""

    No results matching ""